Preview environment

interface AwaitReactionsOptions

export interface AwaitReactionsOptions extends ReactionCollectorOptions

An object containing the same properties as CollectorOptions, but a few more:

optional
dispose? : boolean

Whether to dispose data when it's deleted

Inherited from: CollectorOptions

optional
errors? : readonly string[]

Stop/end reasons that cause the promise to reject

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 total amount of reactions to collect

Inherited from: ReactionCollectorOptions

optional
maxEmojis? : number

The maximum number of emojis to collect

Inherited from: ReactionCollectorOptions

optional
maxUsers? : number

The maximum number of users to react

Inherited from: ReactionCollectorOptions

optional
time? : number

How long to run the collector for in milliseconds

Inherited from: CollectorOptions