Class CategoryChannel

Represents a guild category channel.

Hierarchy (view full)

Constructors

Properties

guildID: string

The id of the guild this channel is in.

id: string
name: string

The name of this channel.

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.

The type of this channel.

Accessors

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

    Returns string

Methods

  • Delete a permission overwrite on this channel.

    Parameters

    • overwriteID: string

      The ID of the permission overwrite to delete.

    • Optional reason: string

      The reason for deleting the permission overwrite.

    Returns Promise<void>