getMyName

Get the bot’s name in the given language. Bot-only.

Parameters

languageCode?: string

Result

string

The current bot’s name in the specified language.

Syntax

await client.getMyName();