Skip to content

ModifyRoleInput

Defined in: bot/bot.type.ts:457

Role fields PATCH /guilds/{id}/roles/{id} can change; a field left out is left alone.

optional color?: number

Defined in: bot/bot.type.ts:461

A new colour as an integer RGB value.


optional hoist?: boolean

Defined in: bot/bot.type.ts:463

Whether to list the role’s members separately.


optional mentionable?: boolean

Defined in: bot/bot.type.ts:465

Whether anyone can

the role.


optional name?: string

Defined in: bot/bot.type.ts:459

A new role name.


optional permissions?: string

Defined in: bot/bot.type.ts:467

Bitfield of permissions, as a string.