interface MessageChannelComponentCollectorOptions

export interface MessageChannelComponentCollectorOptions<Interaction extends CollectedMessageInteraction, Cached extends CacheType = CacheType,> extends MessageComponentCollectorOptions<Interaction>

Type Parameters

Interaction extends CollectedMessageInteraction

optional
Cached? extends CacheType = CacheType

external
componentType : ComponentType

The type of component to listen for

Inherited from: MessageComponentCollectorOptions

external
dispose : boolean

Whether to remove the message component interaction after collecting

Inherited from: AwaitMessageComponentOptions

external
filter : CollectorFilter

The filter applied to this collector

Inherited from: AwaitMessageComponentOptions

external
idle : number

Time to wait without another message component interaction before ending the collector

Inherited from: AwaitMessageComponentOptions

optional
max? : number

The maximum total amount of interactions to collect

Inherited from: MessageComponentCollectorOptions

optional
maxComponents? : number

The maximum number of components to collect

Inherited from: MessageComponentCollectorOptions

optional
maxUsers? : number

The maximum number of users to interact

Inherited from: MessageComponentCollectorOptions

optional
message? : CacheTypeReducer<Cached, Message, APIMessage>

external
time : number

Time to wait for an interaction before rejecting

Inherited from: AwaitMessageComponentOptions