Collects reactions on messages. Will automatically stop if the message ( or ), channel (), thread (), or guild () is deleted.
Emitted whenever a reaction is newly created on a message. Will emit only when a new reaction is added to the message, as opposed to which will be emitted even when a reaction has already been added to the message.
Emitted whenever an element is not collected by the collector.
|args||*||No||The arguments emitted by the listener|
The items collected by this collectorInherited from Collector
The reason this collector has ended with, or null if it hasn't ended yetInherited from Collector
The filter applied to this collectorInherited from Collector
The Date at which this collector last collected an itemInherited from Collector
The timestamp at which this collector last collected an itemInherited from Collector
The message upon which to collect reactions
Returns a promise that resolves with the next collected element; rejects with collected elements if the collector finishes without receiving a next elementInherited from Collector
The options of this collector
The total number of reactions collected
Checks whether the collector should end, and if so, ends it.Inherited from Collector
ReturnsWhether the collector ended or not
Handles an incoming reaction for possible collection.
Handles a reaction deletion for possible disposal.
Empties this reaction collector.
Call this to handle an event as a collectable element. Accepts any event data as parameters.Inherited from Collector
Call this to remove an element from the collection. Accepts any event data as parameters.Inherited from Collector
Gets the collector key for a reaction.
Resets the collector's timeout and idle timer.Inherited from Collector
Stops this collector and emits theInherited from Collector