discord_mod_create_role
Create a new role in a Discord server with customizable name, color, permissions, and display options.
Instructions
Creates a new role in a Discord server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Role name | |
| color | No | Hex color string (e.g. '#FF0000') or color name | |
| hoist | No | Whether the role should be displayed separately in the sidebar | |
| guildId | Yes | The ID of the server | |
| mentionable | No | Whether the role can be mentioned by anyone | |
| permissions | No | Array of permission flag names (e.g. ['SendMessages', 'ViewChannel']) |