Class ForumThread<T>

Represents a thread/topic coming from a "Forums" channel.

Type Parameters

Hierarchy

  • Base<number>
    • ForumThread

Constructors

Properties

bumpedAt: null | Date

Timestamp (unix epoch time) that the forum thread was bumped at.

channelID: string

Forum channel id

client: Client

Bot's client.

Cached comments.

content: string

Content of the thread

createdAt: Date

When this forum thread was created.

editedTimestamp: null | Date

Timestamp at which this channel was last edited.

guildID: string

Guild ID

id: number

Item ID

isLocked: boolean

If true, the thread is locked.

isPinned: boolean

If true, the thread is pinned.

mentions: null | APIMentions

Thread mentions

name: string

Name of the thread

owner: T extends Guild
    ? Member
    : undefined | Member | Promise<Member> | User

Owner of this thread, if cached.

ownerID: string

The ID of the owner of this thread.

Accessors

Methods

  • Add a reaction to this forum thread.

    Parameters

    • emoteID: number

      ID of the emote to be added.

    Returns Promise<void>

  • Remove a reaction from this forum thread.

    Parameters

    • emoteID: number

      ID of the emote to be added.

    Returns Promise<void>