Information about a Announcement's reaction.

Hierarchy

Constructors

Properties

announcementID: string

ID of the announcement where the reaction is added to.

channelID: string

Channel where the reaction was added/removed.

client: Client
commentID: null | number

ID of the announcement comment, if reaction was added/removed from a comment.

emoji: APIEmote

Emote.

reactorID: string

ID of the user who added the reaction.

type: string

The type of the parent entity.

Accessors

  • get announcement(): Announcement | {
        channelID: string;
        guild: Guild | {
            id?: string;
        };
        id: string;
    }
  • The announcement where the reaction has been added. If the event is cached, it'll return a Announcement component, otherwise it'll return basic information about this announcement.

    Returns Announcement | {
        channelID: string;
        guild: Guild | {
            id?: string;
        };
        id: string;
    }

  • get reactor(): Member | {
        id: string;
    }
  • Cached member. If member isn't cached will return an object with the member's id.

    Returns Member | {
        id: string;
    }