ShoukakuEvents
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
close | [string , number , string ] | Emitted when a websocket connection to Lavalink closes | shoukaku/src/Shoukaku.ts:131 |
debug | [string , string ] | Emitted when data useful for debugging is produced | shoukaku/src/Shoukaku.ts:116 |
disconnect | [string , number ] | Emitted when a websocket connection to Lavalink disconnects | shoukaku/src/Shoukaku.ts:136 |
error | [string , Error ] | Emitted when an error occurs | shoukaku/src/Shoukaku.ts:121 |
raw | [string , unknown ] | Emitted when a raw message is received from Lavalink | shoukaku/src/Shoukaku.ts:141 |
ready | [string , boolean , boolean ] | Emitted when Shoukaku is ready to receive operations | shoukaku/src/Shoukaku.ts:126 |
reconnecting | [string , number , number ] | Emitted when reconnect tries are occurring and how many tries are left | shoukaku/src/Shoukaku.ts:111 |