Represents a guild channel.

Hierarchy

Constructors

Properties

guild: Guild

The guild associated with this channel.

guildID: string

The id of the guild this channel is in.

id: string
name: string

The name of this channel.

The parent of this channel, if applicable. This will be a text/announcement/forum channel if we're in a thread, category otherwise.

parentID: null | string

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

The type of this channel.

Accessors

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

    Returns string

Methods