represents a command function that can be executed.
custom command data.
Command result
const myCommand: cmdFuncOut = (eventData) => { const {source, args} = eventData source.sendMessage(`Hello ${name}`); return { status: "success" };}; Copy
const myCommand: cmdFuncOut = (eventData) => { const {source, args} = eventData source.sendMessage(`Hello ${name}`); return { status: "success" };};
represents a command function that can be executed.