Optional
colorRGB color value
0
Optional
hoistWhether the role should be displayed separately in the sidebar
false
Optional
iconThe role's icon image (if the guild has the ROLE_ICONS
feature)
Optional
mentionableWhether the role should be mentionable
false
Optional
nameName of the role
"new role"
Optional
permissionsBitwise value of the enabled/disabled permissions
"default role permissions in guild"
Optional
unicode_The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS
feature)
Generated using TypeDoc
https://discord.com/developers/docs/resources/guild#create-guild-role