API v8 - DeprecatedInterfacesRESTPatchAPICurrentUserJSONBodyVersion: NextOn this pageRESTPatchAPICurrentUserJSONBody https://discord.com/developers/docs/resources/user#modify-current-user@deprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10.Index PropertiesavatarusernameProperties optionalavataravatar?: null | stringIf passed, modifies the user’s avataroptionalusernameusername?: stringUser’s username, if changed may cause the user’s discriminator to be randomized
https://discord.com/developers/docs/resources/user#modify-current-user
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.