Protected
boundBound function for item receiving
Readonly
clientReadonly
entriesCollection of successfully collected entries
Whether the collector is actively collecting elements
Protected
maxTimeout for max time
Protected
resolveMethod to resolve the promise this collector has when instantiated
Protected
decrementProtected
incrementReceives an item
The item received
Whether the item passes the filter function or not
Start the collector
A promise that resolves with a CollectorReturnValue
object
Generated using TypeDoc
A message collector that collects messages sent to a specific channel within a specified time frame. It's recommended that you use client.messages.awaitMessages instead of instantiating this manually unless you know what you're doing.