Skip to content

Commit

Permalink
docs(InteractionCollector): Add info block about being prone to alway…
Browse files Browse the repository at this point in the history
…s running (#6906)
  • Loading branch information
Jiralite authored Oct 28, 2021
1 parent 49e686a commit 5d987ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/InteractionCollector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* <info>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.</info>
* @extends {Collector}
*/
class InteractionCollector extends Collector {
Expand Down

0 comments on commit 5d987ee

Please sign in to comment.