Hierarchy

  • Base
    • ForumThreadComment

Constructors

Properties

_client: Client

Client

channelID: null | string

ID of the forum channel, if provided.

content: string

The content of the forum topic comment

createdAt: string

The ISO 8601 timestamp that the forum topic comment was created at

createdBy: string

The ID of the user who created this forum topic comment (Note: If this event has createdByWebhookId present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA)

guildID: null | string

ID of the forum topic's server, if provided.

id: string | number

Item ID

topicID: number

The ID of the forum topic

updatedAt?: string

The ISO 8601 timestamp that the forum topic comment was updated at, if relevant

Methods

  • Add a comment to the same forum topic as this comment.

    Parameters

    • channelID: string
    • options: {
          content: string;
      }
      • content: string

    Returns Promise<ForumThreadComment>

  • Delete this forum topic comment.

    Parameters

    • channelID: string

    Returns Promise<void>

  • Edit this forum topic's comment.

    Parameters

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

    Returns Promise<ForumThreadComment>