setNameColor

Set the name color of the current user. User-only.

Parameters

color: number

The identifier of the color to set.

customEmojiId?: string

Identifier of a custom emoji to display in message reply headers.

Result

void

Syntax

// Required parameters only.
await client.setNameColor(color);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setNameColor(color, { customEmojiId });