create_role
Create a new Discord role with custom properties like color, permissions, and mention settings to manage member access and server organization.
Instructions
Create a new role on the server with custom properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Role name | |
| color | No | Hex color string (e.g. "#FF0000") or integer | |
| hoist | No | Display role separately in member list | |
| reason | No | Audit log reason | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) | |
| mentionable | No | Allow anyone to mention this role | |
| permissionsRaw | No | Permission bitfield string | |
| permissionsNames | No | CSV of permission names |