RESTPostAPIGuildRoleJSONBody

export interface RESTPostAPIGuildRoleJSONBody
export interface RESTPostAPIGuildRoleJSONBody
color?:number | null | undefined
RGB color value
Remarks
color will still be returned by the API, but using the colors field is recommended when doing requests.
Default value
0
The role's colors
Default value
{ "primary_color": 0, "secondary_color": null, "tertiary_color": null }
Whether the role should be displayed separately in the sidebar
Default value
false
The role's icon image (if the guild has the ROLE_ICONS feature)
mentionable?:boolean | null | undefined
Whether the role should be mentionable
Default value
false
Name of the role
Default value
"new role"
permissions?:Permissions | null | undefined
Bitwise value of the enabled/disabled permissions
Default value
Default role permissions in guild
unicode_emoji?:string | null | undefined
The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)