Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LavalinkNode

Hierarchy

  • LavalinkNode

Index

Constructors

constructor

Properties

host

host: string

manager

manager: PlayerManager

password

password: string

port

port: number | string

reconnectInterval

reconnectInterval: number

Optional resumeKey

resumeKey: undefined | string

stats

Optional tag

tag: undefined | string

ws

ws: WebSocket | null

Accessors

connected

  • get connected(): boolean

Methods

configureResuming

  • configureResuming(key?: string, timeout?: number): Promise<boolean>
  • Parameters

    • Default value key: string = Math.random().toString(36).substring(7)
    • Default value timeout: number = 120

    Returns Promise<boolean>

destroy

  • destroy(): boolean

send

  • send(msg: object): Promise<boolean>

Generated using TypeDoc