Skip to content

JoinVoiceChannelOptions

Defined in: packages/voice/src/connection.ts:74

Options for joinVoiceChannel.

adapterCreator: VoiceAdapterCreator

Defined in: packages/voice/src/connection.ts:79


channelId: string

Defined in: packages/voice/src/connection.ts:76


optional dave?: boolean

Defined in: packages/voice/src/connection.ts:83

Offer DAVE end-to-end encryption (needs @snazzah/davey). Default true.


optional debug?: (message) => void

Defined in: packages/voice/src/connection.ts:84

string

void


guildId: string

Defined in: packages/voice/src/connection.ts:75


optional networking?: Pick<VoiceNetworkingOptions, "url" | "resume" | "socketFactory" | "udpFactory" | "daveModule">

Defined in: packages/voice/src/connection.ts:86

Socket factories and URL override, for tests.


optional selfDeaf?: boolean

Defined in: packages/voice/src/connection.ts:78


optional selfMute?: boolean

Defined in: packages/voice/src/connection.ts:77


optional timeout?: number

Defined in: packages/voice/src/connection.ts:81

Ms to wait for Discord’s voice events and the voice server. Default 15,000.