export interface APIUserSee also: https://discord.com/developers/docs/resources/user#user-object
The user's banner color encoded as an integer representation of hexadecimal color code
optionalavatar_decoration_data? : APIAvatarDecorationData | null
The data for the user's avatar decoration
See also: https://discord.com/developers/docs/resources/user#avatar-decoration-data-object
Use avatar_decoration_data instead
The user's avatar decoration hash
See also: https://discord.com/developers/docs/reference#image-formatting
The user's avatar hash
See also: https://discord.com/developers/docs/reference#image-formatting
The user's banner hash
See also: https://discord.com/developers/docs/reference#image-formatting
optionalbot? : boolean
Whether the user belongs to an OAuth2 application
discriminator : string
The user's Discord-tag
optionalflags? : UserFlags
The flags on a user's account
See also: https://discord.com/developers/docs/resources/user#user-object-user-flags
The user's display name, if it is set. For bots, this is the application name
id : Snowflake
The user's id
optionallocale? : string
The user's chosen language option
optionalmfa_enabled? : boolean
Whether the user has two factor enabled on their account
optionalpremium_type? : UserPremiumType
The type of Nitro subscription on a user's account
See also: https://discord.com/developers/docs/resources/user#user-object-premium-types
optionalpublic_flags? : UserFlags
The public flags on a user's account
See also: https://discord.com/developers/docs/resources/user#user-object-user-flags
optionalsystem? : boolean
Whether the user is an Official Discord System user (part of the urgent message system)
username : string
The user's username, not unique across the platform
optionalverified? : boolean
Whether the email on this account has been verified