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
optionalexternalAPIAvatarDecorationData | 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
optionalexternalboolean bot? :
Whether the user belongs to an OAuth2 application
externalstring discriminator :
The user's Discord-tag
optionalexternalUserFlags 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
externalSnowflake id :
The user's id
optionalexternalstring locale? :
The user's chosen language option
optionalexternalboolean mfa_enabled? :
Whether the user has two factor enabled on their account
optionalexternalUserPremiumType premium_type? :
The type of Nitro subscription on a user's accountSee https://discord.com/developers/docs/resources/user#user-object-premium-types
optionalexternalUserFlags public_flags? :
The public flags on a user's accountSee https://discord.com/developers/docs/resources/user#user-object-user-flags
optionalexternalboolean system? :
Whether the user is an Official Discord System user (part of the urgent message system)
externalstring username :
The user's username, not unique across the platform
optionalexternalboolean verified? :
Whether the email on this account has been verified