$getRoleColor
$getRoleColor
will return the given role’s color.
Usage
$getRoleColor[roleId;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleId | number | The ID of the role you want the color to be returned of. | true |
guildID? | number | The ID of the guild where the role exists in. | false |
Example(s)
This will return the role ID of your highest role:
1client.command({2 name: "getRoleColor",3 code: `4 $getRoleColor[$userHighestRole]5 `6});