interface MessageComponentCollectorOptions
extends
AwaitMessageComponentOptions<Interaction>export interface MessageComponentCollectorOptions<Interaction extends CollectedMessageInteraction> extends AwaitMessageComponentOptions<Interaction>
Type Parameters
CollectedMessageInteraction Interaction extends
externalComponentType componentType :
The type of component to listen for
externalboolean dispose :
Whether to remove the message component interaction after collecting
Inherited from: AwaitMessageComponentOptions
externalCollectorFilter filter :
The filter applied to this collector
Inherited from: AwaitMessageComponentOptions
externalnumber idle :
Time to wait without another message component interaction before ending the collector
Inherited from: AwaitMessageComponentOptions
optionalnumber max? :
The maximum total amount of interactions to collect
optionalnumber maxComponents? :
The maximum number of components to collect
optionalnumber maxUsers? :
The maximum number of users to interact
externalnumber time :
Time to wait for an interaction before rejecting
Inherited from: AwaitMessageComponentOptions