Methods that are provided by the discordjs/voice library to implementations of Discord gateway DiscordGatewayAdapters.
Call this when the adapter can no longer be used (e.g. due to a disconnect from the main gateway)
Call this when you receive a VOICE_SERVER_UPDATE payload that is relevant to the adapter.
Name | Type | Optional | Description |
---|---|---|---|
data | GatewayVoiceServerUpdateDispatchData | No | The inner data of the VOICE_SERVER_UPDATE payload |
Call this when you receive a VOICE_STATE_UPDATE payload that is relevant to the adapter.
Name | Type | Optional | Description |
---|---|---|---|
data | GatewayVoiceStateUpdateDispatchData | No | The inner data of the VOICE_STATE_UPDATE payload |