From 5d987ee56ebe4839cd5737001030ef6321d9dd26 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 29 Oct 2021 00:39:24 +0100 Subject: [PATCH] docs(InteractionCollector): Add info block about being prone to always running (#6906) --- src/structures/InteractionCollector.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/structures/InteractionCollector.js b/src/structures/InteractionCollector.js index eddc69a4d..1fd6a0334 100644 --- a/src/structures/InteractionCollector.js +++ b/src/structures/InteractionCollector.js @@ -22,6 +22,8 @@ const { InteractionTypes, MessageComponentTypes } = require('../util/Constants') * Will automatically stop if the message ({@link Client#event:messageDelete messageDelete}), * channel ({@link Client#event:channelDelete channelDelete}), or * guild ({@link Client#event:guildDelete guildDelete}) is deleted. + * Interaction collectors that do not specify `time` or `idle` may be prone to always running. + * Ensure your interaction collectors end via either of these options or manual cancellation. * @extends {Collector} */ class InteractionCollector extends Collector {