interface MessageComponentCollectorOptions

extends

Omit<InteractionCollectorOptions<Interaction>, 'channel' | 'message' | 'guild' | 'interactionType'>
export interface MessageComponentCollectorOptions<Interaction extends CollectedMessageInteraction> extends Omit<InteractionCollectorOptions<Interaction>, 'channel' | 'message' | 'guild' | 'interactionType'>

Constructors

constructor()

Type Parameters

Interaction extends CollectedMessageInteraction

external
componentType : ComponentType

The type of component to listen for

external
max : number

The maximum total amount of interactions to collect

external
maxComponents : number

The maximum number of components to collect

external
maxUsers : number

The maximum number of users to interact