VoiceChannel

export class VoiceChannel extends BaseGuildVoiceChannel
export class VoiceChannel extends BaseGuildVoiceChannel
Represents a guild voice channel on Discord.
bitrate:number
The bitrate of this voice-based channel
Inherited from BaseGuildVoiceChannel
Readonly
full:boolean
Checks if the voice-based channel is full
Inherited from BaseGuildVoiceChannel
Readonly
joinable:boolean
Whether the channel is joinable by the client user
Inherited from BaseGuildVoiceChannel
Readonly
The members in this voice-based channel
Inherited from BaseGuildVoiceChannel
nsfw:boolean
If the guild considers this channel NSFW
Inherited from BaseGuildVoiceChannel
rateLimitPerUser:number | null
The rate limit per user (slowmode) for this channel in seconds
Inherited from BaseGuildVoiceChannel
rtcRegion:string | null
The RTC region for this voice-based channel. This region is automatically selected if null.
Inherited from BaseGuildVoiceChannel
Readonly
speakable:boolean
Checks if the client has permission to send audio to the voice channel
The type of the channel
userLimit:number
The maximum amount of users allowed in this channel.
Inherited from BaseGuildVoiceChannel
videoQualityMode:VideoQualityMode | null
The camera video quality mode of the channel.
Inherited from BaseGuildVoiceChannel
createInvite(options?):Promise<Invite>
Creates an invite to this guild channel.
NameTypeOptionalDescription
optionsInviteCreateOptionsYesThe options for creating the invite
Inherited from BaseGuildVoiceChannel
fetchInvites(cache?):Promise<Collection<string, Invite>>
Fetches a collection of invites to this guild channel.
NameTypeOptionalDescription
cachebooleanYesWhether to cache the fetched invites
Inherited from BaseGuildVoiceChannel
setBitrate(bitrate, reason?):Promise<this>
Sets the bitrate of the channel.
NameTypeOptionalDescription
bitratenumberNoThe new bitrate
reasonstringYesReason for changing the channel's bitrate
Inherited from BaseGuildVoiceChannel
setRTCRegion(rtcRegion, reason?):Promise<this>
Sets the RTC region of the channel.
NameTypeOptionalDescription
rtcRegionstring | nullNoThe new region of the channel. Set to null to remove a specific region for the channel
reasonstringYesThe reason for modifying this region.
Inherited from BaseGuildVoiceChannel
setUserLimit(userLimit, reason?):Promise<this>
Sets the user limit of the channel.
NameTypeOptionalDescription
userLimitnumberNoThe new user limit
reasonstringYesReason for changing the user limit
Inherited from BaseGuildVoiceChannel
setVideoQualityMode(videoQualityMode, reason?):Promise<this>
Sets the camera video quality mode of the channel.
NameTypeOptionalDescription
videoQualityModeVideoQualityModeNoThe new camera video quality mode.
reasonstringYesReason for changing the camera video quality mode.
Inherited from BaseGuildVoiceChannel