RESTPostAPIGuildRoleJSONBody
Hierarchy
- RESTPostAPIGuildRoleJSONBody
Index
Properties
optionalcolor
RGB color value
optionalhoist
Whether the role should be displayed separately in the sidebar
optionalicon
The role’s icon image (if the guild has the ROLE_ICONS
feature)
optionalmentionable
Whether the role should be mentionable
optionalname
Name of the role
optionalpermissions
Bitwise value of the enabled/disabled permissions
optionalunicode_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
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.