ConnectionOptions
ruvyrias / ConnectionOptions
Interface: ConnectionOptions
Defined in: src/Ruvyrias.ts:134
Options for establishing a voice connection in Ruvyrias.
Properties
deaf?
optional
deaf:boolean
Defined in: src/Ruvyrias.ts:142
Indicates whether the bot should join the voice channel as deafened.
guildId
guildId:
string
Defined in: src/Ruvyrias.ts:136
The unique identifier of the guild (server) where the connection is established.
mute?
optional
mute:boolean
Defined in: src/Ruvyrias.ts:144
Indicates whether the bot should join the voice channel as muted.
region?
optional
region:string
Defined in: src/Ruvyrias.ts:146
The preferred region for the voice connection.
textChannel
textChannel:
null
|string
Defined in: src/Ruvyrias.ts:140
The ID of the text channel associated with the voice connection. Can be null
if not applicable.
voiceChannel
voiceChannel:
null
|string
Defined in: src/Ruvyrias.ts:138
The ID of the voice channel to connect to. Can be null
if disconnecting.