OptionalbotUserId?: stringBot user ID Format: user-id
Optionalcolors?: number[]Created at Format: date-time
Optionalicon?: stringRole icon URL Format: media-uri
Role ID
Is Base
Display Separately
Mentionable
Self Assignable
Role name
Permissions must be a collection of valid permissions as defined in the Enums/Permissions section
Optionalpriority?: numberPriority
Server ID
OptionalupdatedAt?: stringUpdated at Format: date-time
The app user ID this role has been defined for. Roles with this populated can only be deleted by kicking the app
App's client.
An array of integer values corresponding to the decimal RGB representation for a color. The first color is solid, and a second color indicates a gradient (min items 0; max items 2)
Date of when the role was created.
Date of when role was last edited.
ID of the guild
The URL of the role icon
Item ID
The default role users are given when joining the server. Base roles are tied directly to the server and cannot be created or deleted
If set, the role will be displayed separately in the channel member
If set, this role can be mentioned
If set, this roll will be self-assigned
The role's name
Array of permission (Permissions enum)
The position the role will be in relation to the roles in the server
Edit the role permission
A JSON object of Enums/Permissions with true or false values.
Represents a Guild Role.