Class

ReactionCollector

Collects reactions on a message. Use message.createReactionCollector(). Listens to both Events.MessageReactionAdd and Events.MessageReactionAddMany (gateway may batch rapid reactions into ADD_MANY instead of individual ADD events).

Extends EventEmitter

Constructor

new ReactionCollector(client: Client, messageId: string, channelId: string, options: ReactionCollectorOptions)
client
Client
messageId
string
channelId
string

Properties

NameTypeDescription
channelIdread-onlystring
clientread-onlyClient
collectedread-onlyany
messageIdread-onlystring
optionsread-onlyRequired<ReactionCollectorOptions>

Methods