interface InteractionCollectorOptions
extends
CollectorOptions<[Interaction, Collection<Snowflake, Interaction>]>export interface InteractionCollectorOptions<Interaction extends CollectedInteraction, Cached extends CacheType = CacheType,> extends CollectorOptions<[Interaction, Collection<Snowflake, Interaction>]>Type Parameters
Interaction extends CollectedInteraction
optionalchannel? : TextBasedChannelResolvable
The channel to listen to interactions from
optionalcomponentType? : ComponentType
The type of component to listen for
optionalfilter? : CollectorFilter<FilterArguments>
The filter applied to this collector
Inherited from: CollectorOptions
optionalguild? : GuildResolvable
The guild to listen to interactions from
optionalidle? : number
How long to stop the collector after inactivity in milliseconds
Inherited from: CollectorOptions
optionalinteractionResponse? : InteractionResponse<BooleanCache<Cached>>
The interaction response to listen to message component interactions from
optionalinteractionType? : InteractionType
The type of interaction to listen for
optionalmax? : number
The maximum total amount of interactions to collect
optionalmaxComponents? : number
The maximum number of components to collect
optionalmaxUsers? : number
The maximum number of users to interact
optionalmessage? : CacheTypeReducer<Cached, Message, APIMessage>
The message to listen to interactions from
optionaltime? : number
How long to run the collector for in milliseconds
Inherited from: CollectorOptions