Functionalities
Other
$getRoleColor
Returns the color of a role in hex form. 2nd field is optional to return the color of a role from the defined guild. Defaults to current guild.
FUNCTION USAGE
  • $getRoleColor[roleID]
  • $getRoleColor[roleID;guildID]

Properties:

roleID - Returns the color of the defined role guildID - Returns the color of the defined role in the provided guild
1
bot.Command({
2
name: "colorofrole",
3
code: `
4
$getRoleColor[745887313136975902]
5
`
6
})
Copied!
This will return the color of the Support role in our official support server as the color ff7c7e
Last modified 4mo ago
Copy link
Contents
Properties: