MessageReaction

export 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
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
Readonly
partial:false
Whether or not this reaction is a partial
A manager of the users that have given this reaction
fetch():Promise<MessageReaction>
Fetch this reaction.
react():Promise<MessageReaction>
Makes the client user react with this reaction
remove():Promise<MessageReaction>
Removes all users from this reaction.
toJSON():unknown
valueOf():Snowflake | string