Skip to main content
Version: 0.6.4

Interface: ReactionCollectorOptions

Options to be passed to a Collector

Extends​

Properties​

dispose?​

optional dispose?: boolean

Whether to dispose data when it's deleted

Inherited from​

CollectorOptions.dispose


filter?​

optional filter?: (item, ...args) => boolean

The filter applied to this collector

Parameters​

ParameterType
itemMessageReaction
...argsany[]

Returns​

boolean

Inherited from​

CollectorOptions.filter


idle?​

optional idle?: number

How long to stop the collector after inactivity in milliseconds

Inherited from​

CollectorOptions.idle


max?​

optional max?: number

The maximum number of reactions to collect


maxUsers?​

optional maxUsers?: number

The maximum number of users to collect reactions from


time?​

optional time?: number

How long to run the collector for in milliseconds

Inherited from​

CollectorOptions.time