InteractionCollectorOptions

export interface InteractionCollectorOptions<T extends CollectedInteraction, Cached extends CacheType = CacheType>
extends CollectorOptions<[T, Collection<Snowflake, T>]>
export interface InteractionCollectorOptions<T extends CollectedInteraction, Cached extends CacheType = CacheType>
extends CollectorOptions<[T, Collection<Snowflake, T>]>
undefined
NameConstraintsOptionalDefaultDescription
TCollectedInteractionNoNone
CachedCacheTypeYesCacheTypeNone
The channel to listen to interactions from
componentType?:ComponentType
The type of component to listen for
dispose?:boolean
Whether to dispose data when it's deleted
Inherited from CollectorOptions
filter?:CollectorFilter<T>
The filter applied to this collector
Inherited from CollectorOptions
The guild to listen to interactions from
idle?:number
How long to stop the collector after inactivity in milliseconds
Inherited from CollectorOptions
interactionResponse?:InteractionResponse<BooleanCache<Cached>>
The interaction response to listen to message component interactions from
interactionType?:InteractionType
The type of interaction to listen for
max?:number
The maximum total amount of interactions to collect
maxComponents?:number
The maximum number of components to collect
maxUsers?:number
The maximum number of users to interact
The message to listen to interactions from
time?:number
How long to run the collector for in milliseconds
Inherited from CollectorOptions