MessageReaction

class MessageReaction

Aggregated reaction data for one emoji on a message.

Properties

Property

Type

Description

count

number

Number of users who reacted with this emoji.

emoji

EmojiData

Emoji this reaction entry represents.

me

boolean

Whether the bot reacted with this emoji.

Methods

async MessageReaction.remove() → Promise<void>

Remove the bot’s own reaction from this message.

async MessageReaction.users(options: { after?: string; limit?: number; }) → Promise<User[]>

Fetch the users who reacted with this emoji, with optional pagination.

Parameters:
  • options: Pagination options with after (user ID to start after) and limit (max users to return).

Returns:

Array of users who reacted.