Skip to content

pantoken-root / formats/interactions/src / CommandHandler

Alias typu: CommandHandler ​

CommandHandler = (command, source) => void

Funkcja zwrotna wywoływana, gdy zdarzenie command (lub zapasowe kliknięcie) zostaje dopasowane do celu.

Parametry ​

command ​

string

source ​

Element | null

Zwraca ​

void