AnnouncementComment represents a comment from an Announcement channel.


  • Base<number>
    • AnnouncementComment



announcementID: string

ID of the parent announcement.

channelID: string

ID of the channel where the comment is in.

client: Client

Bot's client.

content: string

Announcement content

createdAt: Date

The date when the comment was created.

editedTimestamp: null | Date

The date when the comment was edited, if edited.

guildID: null | string

ID of the guild, if received.

id: number

Item ID

memberID: string

ID of the member who sent this announcement.

mentions: null | APIMentions



  • get member(): undefined | Member | Promise<Member>
  • Retrieve the member who sent this comment, if cached. If there is no cached member, this will make a rest request which returns a Promise. If the request fails, it'll return undefined or throw an error that you can catch.

    Returns undefined | Member | Promise<Member>