Remove Discord role
discord_remove_roleRemoves a role from a Discord guild member using guild ID, user ID, and role ID; supports optional reason and confirmation for guarded role management.
Instructions
Remove a role from a guild member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| roleId | Yes | ||
| userId | Yes | ||
| confirm | No | ||
| guildId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | No | ||
| error | No | ||
| action | Yes | ||
| roleId | No | ||
| userId | No | ||
| guildId | No | ||
| updated | No | ||
| positions | No |