modify_role
Change Discord role properties including name, color, permissions, position, and visibility settings to manage server organization and member access.
Instructions
Modify role properties (name, color, permissions, position, etc.)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes | The ID of the server (guild) | |
| roleId | Yes | The ID of the role to modify | |
| name | No | New role name | |
| color | No | New hex color code | |
| hoist | No | Whether to display separately | |
| mentionable | No | Whether the role can be mentioned | |
| permissions | No | Array of permission names | |
| position | No | New position | |
| reason | No | Reason for the modification |