Skip to main content
Version: 0.37.114

RESTAPIGuildCreateRole

Hierarchy

Index

Properties

optionalinheritedcolor

color?: null | number = null | number

RGB color value

optionalinheritedhoist

hoist?: null | boolean = null | boolean

Whether the role should be displayed separately in the sidebar

optionalinheritedicon

icon?: null | string

The role's icon image (if the guild has the ROLE_ICONS feature)

id

id: string | number

optionalinheritedmentionable

mentionable?: null | boolean = null | boolean

Whether the role should be mentionable

optionalinheritedname

name?: null | string = null | string

Name of the role

optionalinheritedpermissions

permissions?: null | string = null | string

Bitwise value of the enabled/disabled permissions

optionalinheritedunicode_emoji

unicode_emoji?: null | string

The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)