AwaitMessagesOptions

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