Readonly
clientWait & collect reactions on a message.
const reactions = await client.reactions.awaitReactions('message-id-here', { max: 4, time: 60_000 });
ID of the message to listen for reactions on
Configuration for the collector
A Promise that resolves with a collection of reactions collected, with the ID as the key and the reaction as the value
Adds a reaction emote to a message.
The ID of the channel where the message was sent.
The ID of the message.
The ID of the emote to add.
A Promise that resolves with no value upon successful completion.
Deletes either a whole reaction emote from a message or a specific user's if a userId is provided.
The ID of the channel where the message was sent.
The ID of the message.
The ID of the emote to delete.
Optional
userId: stringA Promise that resolves with no value upon successful completion.
Generated using TypeDoc
A class representing a global reaction manager that extends the CacheableStructManager class.