You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

JoinVoiceChannelOptions

export declare interface JoinVoiceChannelOptions
export declare interface JoinVoiceChannelOptions
The options that can be given when joining a voice channel.
channelId:string
The id of the Discord voice channel to join.
group?:string
An optional group identifier for the voice connection.
guildId:string
The id of the guild that the voice channel belongs to.
selfDeaf?:boolean
Whether to join the channel deafened (defaults to true)
selfMute?:boolean
Whether to join the channel muted (defaults to true)