setCommands
setCommands(
commands):RegisteredCommand[]
Defined in: sdk/js/src/api.ts:166
Replaces the bot’s commands at run time (the ones from bot.command register at start).
Parameters
Section titled “Parameters”commands
Section titled “commands”Returns
Section titled “Returns”RegisteredCommand[]