Hierarchy

Constructors

Properties

_client: Client

Client

_createdAt: number

Timestamp (unix epoch time) of the topic's creation.

_updatedAt: null | number

Timestamp (unix epoch time) of when the topic got updated. (if updated)

bumpedAt: null | string

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

channelID: string

Forum channel id

content: string

Content of the topic

guildID: string

Guild/server id

id: string | number

Item ID

memberID: string

ID of the member who created the topic

mentions: null | APIMentions

Topic mentions

name: string

Topic name/title

title: string

Topic name/title

webhookID: null | string

ID of the webhook that created the topic (if created by webhook)

Accessors

  • get channel(): Channel
  • The forum channel, where the topic is in

    Returns Channel

  • get createdAt(): Date
  • string representation of the _createdAt timestamp

    Returns Date

  • get createdByWebhook(): boolean
  • Boolean that tells you if the forum topic was created by a webhook or not.

    Returns boolean

  • get guild(): Guild
  • Guild/server the topic is in

    Returns Guild

  • get member(): Member
  • Member who created the topic

    Returns Member

  • get updatedAt(): null | Date
  • string representation of the _updatedAt timestamp

    Returns null | Date

Methods

  • Add a reaction to the forum topic.

    Parameters

    • emoteID: number

    Returns Promise<void>

  • Delete the forum topic.

    Returns Promise<void>

  • Edit the forum topic.

    Parameters

    • options: {
          content?: string;
          title?: string;
      }
      • Optional content?: string
      • Optional title?: string

    Returns Promise<ForumThread>

  • Locks the forum topic.

    Returns Promise<void>

  • Pin the forum topic.

    Returns Promise<void>

  • Remove a reaction from the forum topic.

    Parameters

    • emoteID: number

    Returns Promise<void>

  • Unlocks the forum topic.

    Returns Promise<void>

  • Unpin the forum topic.

    Returns Promise<void>