interface MessageComponentCollectorOptions

export interface MessageComponentCollectorOptions<Interaction extends CollectedMessageInteraction> extends AwaitMessageComponentOptions<Interaction>

Type Parameters

Interaction extends CollectedMessageInteraction

external
componentType : ComponentType

The type of component to listen for

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

optional
maxComponents? : number

The maximum number of components to collect

optional
maxUsers? : number

The maximum number of users to interact

external
time : number

Time to wait for an interaction before rejecting

Inherited from: AwaitMessageComponentOptions