discord_member_role
Assign or remove a Discord server role from a member by specifying guild, user, role, and action. Requires the role to be below the bot's highest role.
Instructions
Give a role to a member, or take it away. The role must be below the bot's highest role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| role_id | Yes | Role ID | |
| user_id | Yes | User ID | |
| guild_id | Yes | Server (guild) ID |