Guides

Name and Profile ColorUSER-ONLY

User Walkthrough 13 of 50

Users can customize their name color and profile color.

Setting the Name Color

setNameColor changes the current user’s name color.

await client.setNameColor(5);

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

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

Setting the Profile Color

setProfileColor lets you 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: "..." });