class MessageReaction

export class MessageReaction

Represents a reaction to a message.

client : Client<true>

The client that instantiated this message reaction

count : number

The number of people that have given the same reaction

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

The message that this reaction refers to

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