interface AwaitMessageComponentOptions

export interface AwaitMessageComponentOptions<Interaction extends CollectedMessageInteraction> extends CollectorOptions<[Interaction, Collection<Snowflake, Interaction>]>

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

Type Parameters

Interaction extends CollectedMessageInteraction

optional
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
time : number

Time to wait for an interaction before rejecting