Assign Discord role
discord_assign_roleAssign a role to a guild member by providing guild, user, and role IDs, with optional confirmation and audit reason.
Instructions
Assign a role to 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 |