class MessageReaction

export class MessageReaction

Represents a reaction to a message.

readonly
client : Client<true>

The client that instantiated this message reaction

count : number

The number of people that have given the same reaction

readonly
emoji : GuildEmoji | ReactionEmoji

The emoji of this reaction. Either a GuildEmoji object for known custom emojis, or a ReactionEmoji object which has fewer properties. Whatever the prototype of the emoji, it will still have name, id, identifier and toString()

me : boolean

Whether the client has given this reaction

message : Message | PartialMessage

The message that this reaction refers to

readonly
partial : false

Whether or not this reaction is a partial

A manager of the users that have given this reaction

Fetch this reaction.

Makes the client user react with this reaction

Removes all users from this reaction.

toJSON() : unknown

valueOf() : Snowflake | string