Skip to content

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).

CommandLike[]

RegisteredCommand[]