Skip to main content
Version: 0.1.10

CommandKitButtonBuilderInteractionCollectorDispatch

CommandKitButtonBuilderInteractionCollectorDispatch

The handler to run when a button is clicked. This handler is called with the interaction as the first argument. If the first argument is null, it means that the interaction collector has been destroyed.

  • Type: ( interaction: ButtonInteraction ) => Awaitable<void>

  • Source