Preview deployment

interface MessageCollectorOptionsParams

export interface MessageCollectorOptionsParams<ComponentType extends MessageComponentType, Cached extends boolean = boolean,> extends MessageComponentCollectorOptions<MappedInteractionTypes<Cached>[ComponentType]>

Type Parameters

ComponentType extends MessageComponentType

optional
Cached? extends boolean = boolean

optional
componentType? : ComponentType

max : number

The maximum total amount of interactions to collect

Inherited from: MessageComponentCollectorOptions

maxComponents : number

The maximum number of components to collect

Inherited from: MessageComponentCollectorOptions

maxUsers : number

The maximum number of users to interact

Inherited from: MessageComponentCollectorOptions