RESTAPIGuildCreateRole
Hierarchy
- RESTPostAPIGuildRoleJSONBody
- RESTAPIGuildCreateRole
Index
Properties
optionalinheritedcolor
RGB color value
optionalinheritedhoist
Whether the role should be displayed separately in the sidebar
optionalinheritedicon
The role's icon image (if the guild has the ROLE_ICONS
feature)
id
optionalinheritedmentionable
Whether the role should be mentionable
optionalinheritedname
Name of the role
optionalinheritedpermissions
Bitwise value of the enabled/disabled permissions
optionalinheritedunicode_emoji
The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS
feature)
https://discord.com/developers/docs/resources/guild#create-guild-role