Skip to main content
Version: Next

CommandKitSelectMenuBuilderInteractionCollectorDispatch

CommandKitSelectMenuBuilderInteractionCollectorDispatch

The handler to run when a modal is submitted. 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.

Signature
type CommandKitSelectMenuBuilderInteractionCollectorDispatch<T, C> = (
interaction: T,
context: C,
) => Awaitable<void>