Information about a Message's reaction.

Hierarchy (view full)

Constructors

Properties

channelID: string

Channel where the reaction was added/removed.

client: Client
emoji: {
    id: number;
    name: string;
    serverId?: string;
    url: string;
}

Emote.

Type declaration

  • id: number

    Emote ID

    The ID of the emote

  • name: string

    Name

    The name of the emote

  • OptionalserverId?: string

    Server ID

    The ID of the server the emote was created on

  • url: string

    Emote URL Format: media-uri

    The URL of the emote image

guildID: null | string

Guild ID

messageID: string

ID of the message where the reaction was added/removed.

reactorID: string

ID of the user who added the reaction.

type: string

The type of the parent entity.

Accessors

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

    Returns Message<TextChannel> | {
        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;
    }