Interface JoinVoiceChannelOptions

interface JoinVoiceChannelOptions {
    channelID: string;
    debug?: boolean;
    guildID: string;
    selfDeaf?: boolean;
    selfMute?: boolean;
    voiceAdapterCreator: DiscordGatewayAdapterCreator;
}

Properties

channelID: string

The ID of the channel to join.

debug?: boolean

Whether debug messages are enabled. Defaults to false.

guildID: string

The ID of the guild the channel to join belongs to.

selfDeaf?: boolean

Whether to join the channel deafened. Defaults to true.

selfMute?: boolean

Whether to join the channel muted. Defaults to true.

voiceAdapterCreator: DiscordGatewayAdapterCreator

The voice adapter creator for this voice connection. Use the <Guild>.voiceAdapterCreator property for this.