Represents a channel announcement.

Hierarchy

  • Base<string>
    • Announcement

Constructors

Properties

channelID: string

ID of the channel the announcement is in

client: Client

Bot's client.

Cached announcement's comments

content: string

The announcement's content

createdAt: Date

The ISO 8601 timestamp that the announcement was created at

guildID: string

ID of the guild.

id: string

Item ID

memberID: string

The ID of the member who created this announcement

mentions: null | APIMentions

Mentions.

title: string

The announcement's title.

Methods

  • Add a reaction to this announcement.

    Parameters

    • emoteID: number

    Returns Promise<void>

  • Remove a reaction from this announcement.

    Parameters

    • emoteID: number

    Returns Promise<void>