PlayerEvents
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
closed | [WebSocketClosedEvent ] | Emitted when the current websocket connection is closed | shoukaku/src/guild/Player.ts:147 |
end | [TrackEndEvent ] | Emitted when the current playing track ends | shoukaku/src/guild/Player.ts:137 |
exception | [TrackExceptionEvent ] | Emitted when there is an error caused by the current playing track | shoukaku/src/guild/Player.ts:157 |
resumed | [Player ] | Emitted when the library manages to resume the player | shoukaku/src/guild/Player.ts:162 |
start | [TrackStartEvent ] | Emitted when a new track starts | shoukaku/src/guild/Player.ts:152 |
stuck | [TrackStuckEvent ] | Emitted when the current playing track gets stuck due to an error | shoukaku/src/guild/Player.ts:142 |
update | [PlayerUpdate ] | Emitted when a playerUpdate even is received from Lavalink | shoukaku/src/guild/Player.ts:167 |