ModifyRoleInput
Defined in: bot/bot.type.ts:457
Role fields PATCH /guilds/{id}/roles/{id} can change; a field left out is left alone.
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:number
Defined in: bot/bot.type.ts:461
A new colour as an integer RGB value.
hoist?
Section titled “hoist?”
optionalhoist?:boolean
Defined in: bot/bot.type.ts:463
Whether to list the role’s members separately.
mentionable?
Section titled “mentionable?”
optionalmentionable?:boolean
Defined in: bot/bot.type.ts:465
Whether anyone can
Mention
Section titled “Mention”the role.
optionalname?:string
Defined in: bot/bot.type.ts:459
A new role name.
permissions?
Section titled “permissions?”
optionalpermissions?:string
Defined in: bot/bot.type.ts:467
Bitfield of permissions, as a string.