Interface RESTAPIGuildCreateRole

Hierarchy

Properties

color?: null | number

RGB color value

Default

0
hoist?: null | boolean

Whether the role should be displayed separately in the sidebar

Default

false
icon?: null | string

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

id: string | number
mentionable?: null | boolean

Whether the role should be mentionable

Default

false
name?: null | string

Name of the role

Default

"new role"
permissions?: null | string

Bitwise value of the enabled/disabled permissions

Default

"default role permissions in guild"
unicode_emoji?: null | string

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

Generated using TypeDoc