interface AwaitMessagesOptions
extends
MessageCollectorOptionsexport interface AwaitMessagesOptions extends MessageCollectorOptionsAn object containing the same properties as CollectorOptions, but a few more:
optionalerrors? : readonly string[]
Stop/end reasons that cause the promise to reject
optionalfilter? : CollectorFilter<FilterArguments>
The filter applied to this collector
Inherited from: CollectorOptions
optionalidle? : number
How long to stop the collector after inactivity in milliseconds
Inherited from: CollectorOptions
optionalmax? : number
The maximum amount of messages to collect
Inherited from: MessageCollectorOptions
optionalmaxProcessed? : number
The maximum amount of messages to process
Inherited from: MessageCollectorOptions
optionaltime? : number
How long to run the collector for in milliseconds
Inherited from: CollectorOptions