discord_remove_role
Remove a role from a Discord server member. Requires Manage Roles permission; idempotent if member lacks the role.
Instructions
Remove a role from a member. Requires the Manage Roles permission, and the role must be below the bot's highest role. Idempotent: removing a role the member doesn't have has no effect. Reverses discord_add_role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| user_id | Yes | Discord user ID (snowflake) of the member to remove the role from. | |
| role_id | Yes | ID (snowflake) of the role to remove. | |
| reason | No | Optional reason recorded in the server audit log. |