interface AwaitMessageComponentOptions

extends

Omit<MessageComponentCollectorOptions<Interaction>, 'max' | 'maxComponents' | 'maxUsers'>
export interface AwaitMessageComponentOptions<Interaction extends CollectedMessageInteraction> extends Omit<MessageComponentCollectorOptions<Interaction>, 'max' | 'maxComponents' | 'maxUsers'>

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

Constructors

constructor()

Type Parameters

Interaction extends CollectedMessageInteraction

external
componentType : ComponentType

The type of component interaction to collect

external
dispose : boolean

Whether to remove the message component interaction after collecting

external
filter : CollectorFilter

The filter applied to this collector

external
idle : number

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

external
interactionResponse : InteractionResponse

The interaction response to collect interactions from

external
time : number

Time to wait for an interaction before rejecting