interface AwaitMessagesOptions
extends
MessageCollectorOptionsexport interface AwaitMessagesOptions extends MessageCollectorOptions
An object containing the same properties as CollectorOptions, but a few more:
optionalboolean dispose? :
Whether to dispose data when it's deleted
Inherited from: CollectorOptions
optionalreadonly string[] errors? :
Stop/end reasons that cause the promise to reject
optionalCollectorFilter<FilterArguments> filter? :
The filter applied to this collector
Inherited from: CollectorOptions
optionalnumber idle? :
How long to stop the collector after inactivity in milliseconds
Inherited from: CollectorOptions
optionalnumber max? :
The maximum amount of messages to collect
Inherited from: MessageCollectorOptions
optionalnumber maxProcessed? :
The maximum amount of messages to process
Inherited from: MessageCollectorOptions
optionalnumber time? :
How long to run the collector for in milliseconds
Inherited from: CollectorOptions