MessageReaction

class MessageReaction()

Aggregated reaction data for one emoji on a message.

exported from lib.weeble.d

Properties

MessageReaction.count

type: readonly number

Number of users who reacted with this emoji.

MessageReaction.emoji

type: readonly EmojiData

Emoji this reaction entry represents.

MessageReaction.me

type: readonly 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.