Skip to main content
Module

x/discord_api_types/v8.ts>RESTPatchAPICurrentUserJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPatchAPICurrentUserJSONBody
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type RESTPatchAPICurrentUserJSONBody } from "https://deno.land/x/discord_api_types@0.37.82/v8.ts";

Properties

optional
username: string | undefined

User's username, if changed may cause the user's discriminator to be randomized

optional
avatar: string | null | undefined

If passed, modifies the user's avatar