Documentation
Types
CommandKitButtonBuilderInteractionCollectorDispatchContextData

CommandKitButtonBuilderInteractionCollectorDispatchContextData

Extends Omit<InteractionCollectorOptions<ButtonInteraction>, 'filter' | 'componentType'>

message

The message to listen for button interactions on.

time

The duration (in ms) that the collector should run for.

  • Type: number | undefined

autoReset

If the collector should automatically reset the timer when a button is clicked.

  • Type: boolean | undefined