Custom Command
FunctionsMember Functions

$userRoleColor

Returns the hex color code of the users highest role.

Usage

$userRoleColor[userID]
  1. userID - (Optional) default value: $authorID. The ID of a user you want to return top role color from.

Example

Using $userRoleColor

How to use $userRoleColor

Member
9/5/2026
!!exec $userRoleColor
Custom Command
APP
9/5/2026
#d6e0ff

Cache

This function works on the bot's cache to find members. If the user is not cached, the function will not find them. User will be cached after they trigger any command from this bot, but eventually they will get deleted.
To have all members cached, you will need Tier 5 Bot.

Related Functions: $userRoles

Difficulty: Easy

Tags: Color

On this page