users_modify_current
users_modify_current
Section titled “users_modify_current”Category: users
Update the authenticated bot/user profile (PATCH /users/@me).
When to use
Section titled “When to use”- Rename the bot, change avatar/banner.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
username | string | no | New username (2-32 chars) |
avatar | unknown | no | Avatar as base64 image data URI, or null to clear |
banner | unknown | no | Banner as base64 image data URI, or null to clear |
Returns
Section titled “Returns”projected user shape \{id, username, global_name, avatar, banner\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Discord user ID |
username | string | yes | |
global_name | unknown | yes | |
avatar | unknown | yes | |
banner | unknown | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |