setProfileColor

Set the profile 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 the profile.

Result

void

Syntax

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

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