Class VoiceChannel

Represents a guild voice channel.

Hierarchy (view full)

Constructors

Properties

bitrate: number

The bitrate of the stage channel.

guildID: string

The id of the guild this channel is in.

id: string
lastMessage?: null | Message<VoiceChannel>

The last message sent in this channel. This will only be present if a message has been sent within the current session.

lastMessageID: null | string

The ID of last message sent in this channel.

The cached messages in this channel.

name: string

The name of this channel.

nsfw: boolean

If this channel is age gated.

parentID: null | string

The ID of the parent of this channel, if applicable.

The permission overwrites of this channel.

position: number

The position of this channel on the sidebar.

rateLimitPerUser: number

The amount of seconds between non-moderators sending messages.

rtcRegion: null | string

The id of the voice region of the channel, null is automatic.

status: null | string

The status of this voice channel.

topic: null | string

The topic of the channel.

The type of this channel.

userLimit: number

The maximum number of members in this voice channel, 0 is unlimited.

videoQualityMode: VideoQualityModes

The video quality mode of this channel.

voiceMembers: TypedCollection<RawMember, Member, [guildID: string]>

Accessors

  • get mention(): string
  • A string that will mention this channel.

    Returns string

Methods

  • Remove a reaction from a message in this channel.

    Parameters

    • messageID: string

      The ID of the message to remove a reaction from.

    • emoji: string

      The reaction to remove from the message. name:id for custom emojis, and the unicode codepoint for default emojis.

    • user: string = "@me"

      The user to remove the reaction from, @me for the current user (default).

    Returns Promise<void>

  • Remove all, or a specific emoji's reactions from a message in this channel.

    Parameters

    • messageID: string

      The ID of the message to remove reactions from.

    • Optional emoji: string

      The reaction to remove from the message. name:id for custom emojis, and the unicode codepoint for default emojis. Omit to remove all reactions.

    Returns Promise<void>