Packages@robojs/discordjs
executeCommandHandler()
Function: executeCommandHandler()
function executeCommandHandler(interaction, commandKey): Promise<void>Execute a slash command handler
Parameters
| Parameter | Type | Description |
|---|---|---|
interaction | ChatInputCommandInteraction<CacheType> | The Discord interaction |
commandKey | string | The command key (e.g., "ping" or "user info") |
Returns
Promise<void>
