discord_mod_edit_role
Edit a Discord role's name, color, permissions, position, hoist, or mentionable settings.
Instructions
Edits an existing role in a Discord server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the role | |
| color | No | New hex color | |
| hoist | No | Whether the role should be displayed separately | |
| roleId | Yes | The ID of the role to edit | |
| guildId | Yes | The ID of the server | |
| position | No | New position in the role hierarchy | |
| mentionable | No | Whether the role can be mentioned | |
| permissions | No | Array of permission flag names |