The role's integer representation of hexadecimal color code.
Whether the role is deleted.
The guild this role belongs to.
Whether or not the role is pinned in the user listing.
The role's ID.
Whether or not the role is managed by an integration.
Whether or not the role is mentionable.
The role's name.
The role's permissions.
The role's position.
The Date when this object was created at
The time when this object was created at
Adds the role to a member by its id.
The id of the member you want to add the role.
Basic clone method
Deletes the role from the guild.
The additional request options.
Modifies the role's settings.
The new settings for the role.
The additional request options.
Checks permissions for this member in a given channel.
The channel to check permissions in
If we should take into account guild scoped permissions, or just overwrites
Removes the role from a member by its id.
The id of the member you want to remove the role.
The JSON representation of this object.
Defines the toString behavior of this structure.
The basic value of this Structure
Generated using TypeDoc
https://discord.com/developers/docs/topics/permissions#role-object