interface RESTAPIGuildCreateRole
extends
RESTPostAPIGuildRoleJSONBodyexport interface RESTAPIGuildCreateRole extends RESTPostAPIGuildRoleJSONBodyRGB color value
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
optionalcolors? : APIRoleColors | undefined = { "primary_color": 0, "secondary_color": null, "tertiary_color": null }
The role's colors
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
Whether the role should be displayed separately in the sidebar
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
The role's icon image (if the guild has the ROLE_ICONS feature)
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
Whether the role should be mentionable
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
Name of the role
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
optionalpermissions? : Permissions | null | undefined = Default role permissions in guild
Bitwise value of the enabled/disabled permissions
Inherited from: v10/RESTPostAPIGuildRoleJSONBody
The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)
Inherited from: v10/RESTPostAPIGuildRoleJSONBody