interface DiscordGatewayAdapterLibraryMethods

export interface DiscordGatewayAdapterLibraryMethods

Methods that are provided by the @discordjs/voice library to implementations of Discord gateway DiscordGatewayAdapters.

destroy() : void

Call this when the adapter can no longer be used (e.g. due to a disconnect from the main gateway)

onVoiceServerUpdate() : void

Call this when you receive a VOICE_SERVER_UPDATE payload that is relevant to the adapter.

onVoiceStateUpdate() : void

Call this when you receive a VOICE_STATE_UPDATE payload that is relevant to the adapter.