Skip to main content
Version: Next

RESTPatchAPIGuildRoleJSONBody

Index

Properties

optionalcolor

color?: null | number

RGB color value

@remarks

color will still be returned by the API, but using the colors field is recommended when doing requests.

optionalcolors

colors?: APIRoleColors

The role's colors

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)