From 139e56c7748b0bafced3a48b15be17f49613f3ee Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 12 Aug 2020 16:22:45 -0500 Subject: [PATCH] docs(ReactionCollector): update remove and dispose events (#4136) Co-authored-by: Amish Shah Co-authored-by: uhKevinMC Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com> Co-authored-by: Noel --- src/structures/ReactionCollector.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/structures/ReactionCollector.js b/src/structures/ReactionCollector.js index 602ca8d3c..a86b4a0c8 100644 --- a/src/structures/ReactionCollector.js +++ b/src/structures/ReactionCollector.js @@ -103,7 +103,7 @@ class ReactionCollector extends Collector { */ dispose(reaction, user) { /** - * Emitted whenever a reaction is disposed of. + * Emitted whenever a reaction is disposed of and the `dispose` option is set to true. * @event ReactionCollector#dispose * @param {MessageReaction} reaction The reaction that was disposed of * @param {User} user The user that removed the reaction @@ -111,9 +111,9 @@ class ReactionCollector extends Collector { if (reaction.message.id !== this.message.id) return null; /** - * Emitted whenever a reaction is removed from a message. Will emit on all reaction removals, - * as opposed to {@link Collector#dispose} which will only be emitted when the entire reaction - * is removed. + * Emitted whenever a reaction is removed from a message and the `dispose` option is set to true. + * Will emit on all reaction removals, as opposed to {@link Collector#dispose} which will only + * be emitted when the entire reaction is removed. * @event ReactionCollector#remove * @param {MessageReaction} reaction The reaction that was removed * @param {User} user The user that removed the reaction