Preview deployment

interface MessageComponentCollectorOptions

extends

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

Type Parameters

Interaction extends CollectedMessageInteraction

componentType : ComponentType

The type of component 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