Optional
colourColour of the role, or null
if no colour is set.
Optional
hoistWhether the role is displayed separately in the member list.
Optional
nameName of the role.
Optional
permissionsPermissions to set for the role. Format: { a: allow, d: deny }
Optional
rankRank of the role, used for ordering.
Optional
removeFields to remove from the role. Each key corresponds to a field in the Role type.
Represents a role that can be edited in a server.