Methods

deleteMyCommands

Delete the bot’s commands in the given scope and/or language. BOT-ONLY

Parameters

languageCode?: string

Result

void

Syntax

// Optional parameters.
// Any of the optional parameters can be omitted.
await client.deleteMyCommands( { scope, languageCode });