Role

struct

Represents a role in a guild.

Property Type Description
color Integer description becomes "Deprecated, integer representation of hexadecimal color code (use colors)"
colors Role_Colors The role's colors
flags Integer Role flags combined as a bitfield
hoist Boolean If this role is pinned in the user listing
icon String Role icon hash
id String Role id
managed Boolean Whether this role is managed by an integration
mentionable Boolean Whether this role is mentionable
name String Role name
permissions String Permission bit set representation
position Integer Position of this role
tags Role_Tags The tags this role has
unicode_emoji String Role unicode emoji
part of the Apioo-Project