Skip to content

pantoken / formats/interactions/src / CommandHandler

Bí danh kiểu: CommandHandler

CommandHandler = (command, source) => void

Hàm callback được gọi khi một sự kiện command (hoặc nhấp thay thế) được phân giải thành một mục tiêu.

Tham số

command

string

source

Element | null

Trả về

void