members_modify_current
Set or clear the bot's nickname in a Discord guild. Updates the bot's own member entry without requiring the Manage Nicknames permission.
Instructions
Purpose: Modify the current bot user's own guild member entry (currently only nick).
When to use:
Set/clear the bot's nickname in a guild without needing the MANAGE_NICKNAMES permission.
Returns: {nick}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nick | No | New nickname (null to clear) | |
| guild_id | Yes | Guild to modify the bot member in | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||