Guides

Name and Profile ColorUSER-ONLY

User Walkthrough 18 of 18

User clients can customize their name color and profile color.

Setting the Name Color

Use setNameColor to set the name color of the current user.

await client.setNameColor(5);

Optionally, pass a customEmojiId to display in message reply headers.

await client.setNameColor(5, { customEmojiId: "..." });

Setting the Profile Color

Use setProfileColor to set the profile color of the current user.

await client.setProfileColor(3);

Optionally, pass a customEmojiId to display in the profile.

await client.setProfileColor(3, { customEmojiId: "..." });