setMyName

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

Parameters

name?: string
languageCode?: string

Result

void

Syntax

await client.setMyName();