$getRoleColor
$getRoleColor
will return the given role’s color.
Usage
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: