Skip to content

$userRoleColor

$userRoleColor will return the role color of a user’s highest assigned role.

Usage

$userRoleColor[userID?;guildID?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe user ID.false
guildID?numberThe guild ID.false

Example(s)

This will return the Color of your highest role:

1
client.command({
2
name: "userRoleColor",
3
code: `
4
$userRoleColor[$authorID;$guildID]
5
`
6
});