Interface
RESTUpdateRoleBody
Request body for PATCH /guilds/{id}/roles/{roleId} (update role). All fields optional.
Properties
color
?: numberRole color as RGB integer.
hoist
?: booleanWhether the role is hoisted.
hoist_position
?: number | nullHoisted position.
mentionable
?: booleanWhether the role can be mentioned.
name
?: stringRole name.
permissions
?: stringPermissions bitfield as string.
position
?: numberSort position.
unicode_emoji
?: string | nullUnicode emoji for the role.