Global

Type Definitions

collectionCallback(collection, reaction, user)

Called when an emoji is collected.

Source:
Parameters:
Name Type Description
collection external:Collection.<Emoji, external:MessageReaction>

The current collection of all reactions.

reaction external:MessageReaction

The reaction that was added.

user external:User

The user that added that reaction.

confirmationCallback(reaction, user)

Called to verify if the collection can be closed when someone clicks on the confrimation emoji.

Source:
Parameters:
Name Type Description
reaction external:MessageReaction

The reaction that was added.

user external:User

The user that added that reaction.

endCallback(collection, collected)

Called once the reaction collector is closed.

Source:
Parameters:
Name Type Description
collection external:ReactionCollector

The ReactionCollector object.

collected external:Collection.<Emoji, external:MessageReaction>

The collection of MessageReactions that were collected.

removalCallback(collection, reaction, user)

Called when an emoji is removed.

Source:
Parameters:
Name Type Description
collection external:Collection.<Emoji, external:MessageReaction>

The current collection of all reactions.

reaction external:MessageReaction

The reaction that was added.

user external:User

The user that added that reaction.