members_modify_current
members_modify_current
Section titled “members_modify_current”Category: members
Modify the current bot user’s own guild member entry (currently only nick).
When to use
Section titled “When to use”- Set/clear the bot’s nickname in a guild without needing the MANAGE_NICKNAMES permission.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
guild_id | string | yes | Guild to modify the bot member in |
nick | unknown | no | New nickname (null to clear) |
audit_reason | string | no | Reason recorded in audit log (X-Audit-Log-Reason header) |
Returns
Section titled “Returns”\{nick\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
nick | unknown | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |