Class ThreadOnlyChannel

Represents a thread only channel.

Hierarchy (view full)

Constructors

Properties

availableTags: ForumTag[]

The usable tags for threads.

defaultAutoArchiveDuration: 60 | 1440 | 4320 | 10080

The default auto archive duration for threads.

defaultForumLayout: ForumLayoutTypes

The default forum layout used to display threads.

defaultReactionEmoji: null | ForumEmoji

The default reaction emoji for threads.

defaultSortOrder: null | SortOrderTypes

The default sort order mode used to sort threads.

defaultThreadRateLimitPerUser: number

The default amount of seconds between non-moderators sending messages in threads.

flags: number

The flags for this channel, see ChannelFlags.

guildID: string

The id of the guild this channel is in.

id: string
lastThreadID: null | string

The ID of most recently created thread.

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 creating threads.

topic: null | string

The guidelines of this forum channel.

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>