Skip to content

@tavora/sdk / DISCORD_EVENTS

Variable: DISCORD_EVENTS ​

const DISCORD_EVENTS: readonly ["VOICE_CHANNEL_SELECT", "VOICE_STATE_CREATE", "VOICE_STATE_UPDATE", "VOICE_STATE_DELETE", "SPEAKING_START", "SPEAKING_STOP"]

Defined in: packages/sdk/src/protocol.ts:588

Discord RPC events a module may subscribe to. VOICE_CHANNEL_SELECT (the user joined, moved or left) takes no channel; the others are for one voice channel and need its id.

For Tavora 0.23.9 and @tavora/sdk 0.3.3. Code under the MIT License. The Tavora name and logo are not covered by it.