Skip to content

pantoken / formats/interactions/src / CommandHandler

Type-alias: CommandHandler

CommandHandler = (command, source) => void

Callback die wordt aangeroepen wanneer een command-gebeurtenis (of fallback-klik) naar een doel leidt.

Parameters

command

string

source

Element | null

Retourneert

void