JoinVoiceChannelOptions
Defined in: packages/voice/src/connection.ts:74
Options for joinVoiceChannel.
Properties
Section titled “Properties”adapterCreator
Section titled “adapterCreator”adapterCreator:
VoiceAdapterCreator
Defined in: packages/voice/src/connection.ts:79
channelId
Section titled “channelId”channelId:
string
Defined in: packages/voice/src/connection.ts:76
optionaldave?:boolean
Defined in: packages/voice/src/connection.ts:83
Offer DAVE end-to-end encryption (needs @snazzah/davey). Default true.
debug?
Section titled “debug?”
optionaldebug?: (message) =>void
Defined in: packages/voice/src/connection.ts:84
Parameters
Section titled “Parameters”message
Section titled “message”string
Returns
Section titled “Returns”void
guildId
Section titled “guildId”guildId:
string
Defined in: packages/voice/src/connection.ts:75
networking?
Section titled “networking?”
optionalnetworking?:Pick<VoiceNetworkingOptions,"url"|"resume"|"socketFactory"|"udpFactory"|"daveModule">
Defined in: packages/voice/src/connection.ts:86
Socket factories and URL override, for tests.
selfDeaf?
Section titled “selfDeaf?”
optionalselfDeaf?:boolean
Defined in: packages/voice/src/connection.ts:78
selfMute?
Section titled “selfMute?”
optionalselfMute?:boolean
Defined in: packages/voice/src/connection.ts:77
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: packages/voice/src/connection.ts:81
Ms to wait for Discord’s voice events and the voice server. Default 15,000.