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();