discord_delete_role
Deletes a Discord role and removes it from every member, with an optional audit log reason. This action is irreversible, so confirm before use.
Instructions
Delete a role, removing it from every member. Irreversible — confirm with the user first.
Returns: Confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason recorded in the server's audit log. | |
| role_id | Yes | ||
| guild_id | No | Server (guild) ID. Omit to use DISCORD_GUILD_ID from .env. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |