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:
Type Parameters
CollectedMessageInteraction Interaction extends
ComponentType componentType :
The type of component interaction to collect
boolean dispose :
Whether to remove the message component interaction after collecting
CollectorFilter filter :
The filter applied to this collector
number idle :
Time to wait without another message component interaction before ending the collector
InteractionResponse interactionResponse :
The interaction response to collect interactions from
number time :
Time to wait for an interaction before rejecting