Skip to main content
Version: 0.37.109

RESTPatchAPIGuildRoleJSONBody

Index

Properties

optionalcolor

color?: null | number

RGB color value

optionalhoist

hoist?: null | boolean

Whether the role should be displayed separately in the sidebar

optionalicon

icon?: null | string

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

optionalmentionable

mentionable?: null | boolean

Whether the role should be mentionable

optionalname

name?: null | string

Name of the role

optionalpermissions

permissions?: null | string

Bitwise value of the enabled/disabled permissions

optionalunicode_emoji

unicode_emoji?: null | string

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