LogoRobo.js
Packages@robojs/discordjs

executeCommandHandler()

Function: executeCommandHandler()

function executeCommandHandler(interaction, commandKey): Promise<void>

Execute a slash command handler

Parameters

ParameterTypeDescription
interactionChatInputCommandInteraction<CacheType>The Discord interaction
commandKeystringThe command key (e.g., "ping" or "user info")

Returns

Promise<void>

On this page