getMyCommands

Get the bot’s commands in the given scope and/or language. Bot-only.

Parameters

Result

The current bot’s commands in the specified language.

Syntax

await client.getMyCommands();