Optional
botOptional
colors?: number[]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
The ISO 8601 timestamp that the role was created at
Optional
icon?: stringThe URL of the role icon
The ID of the role
Optional
isThe default role users are given when joining the server. Base roles are tied directly to the server and cannot be created or deleted
Optional
isIf set, the role will be displayed separately in the channel member list
Optional
isIf set, this role can be mentioned
Optional
isIf set, this roll will be self assigned
The role's name
Permissions must be a collection of valid permissions as defined in the Enums/Permissions section
Optional
priority?: numberThe priority the role will be in relation to other roles in the server. The higher the value, the more precedence the role has over lower priority roles, and the higher up it will be displayed in the UI. Values can be zero or negative!
The ID of the server
Optional
updatedThe ISO 8601 timestamp that the role was updated at, if relevant
Generated using TypeDoc
The bot user ID this role has been defined for. Roles with this populated can only be deleted by kicking the bot