Preview deployment

interface MessageCollectorOptions

export interface MessageCollectorOptions extends CollectorOptions<[Message, Collection<Snowflake, Message>]>

optional
dispose? : boolean

Whether to dispose data when it's deleted

Inherited from: CollectorOptions

optional
filter? : CollectorFilter<FilterArguments>

The filter applied to this collector

Inherited from: CollectorOptions

optional
idle? : number

How long to stop the collector after inactivity in milliseconds

Inherited from: CollectorOptions

optional
max? : number

The maximum amount of messages to collect

optional
maxProcessed? : number

The maximum amount of messages to process

optional
time? : number

How long to run the collector for in milliseconds

Inherited from: CollectorOptions