export interface APIUser
https://discord.com/developers/docs/resources/user#user-object
The user's banner color encoded as an integer representation of hexadecimal color code
optionalAPIAvatarDecorationData | null avatar_decoration_data? :
The data for the user's avatar decorationSee https://discord.com/developers/docs/resources/user#avatar-decoration-data-object
Use avatar_decoration_data
instead
The user's avatar decoration hashSee https://discord.com/developers/docs/reference#image-formatting
The user's avatar hashSee https://discord.com/developers/docs/reference#image-formatting
The user's banner hashSee https://discord.com/developers/docs/reference#image-formatting
optionalboolean bot? :
Whether the user belongs to an OAuth2 application
string discriminator :
The user's Discord-tag
optionalUserFlags flags? :
The flags on a user's accountSee 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
Snowflake id :
The user's id
optionalstring locale? :
The user's chosen language option
optionalboolean mfa_enabled? :
Whether the user has two factor enabled on their account
optionalUserPremiumType premium_type? :
The type of Nitro subscription on a user's accountSee https://discord.com/developers/docs/resources/user#user-object-premium-types
optionalUserFlags public_flags? :
The public flags on a user's accountSee https://discord.com/developers/docs/resources/user#user-object-user-flags
optionalboolean system? :
Whether the user is an Official Discord System user (part of the urgent message system)
string username :
The user's username, not unique across the platform
optionalboolean verified? :
Whether the email on this account has been verified