APIUser

export interface APIUser
export interface APIUser
accent_color?:number | null
The user's banner color encoded as an integer representation of hexadecimal color code
avatar_decoration_data?:APIAvatarDecorationData | null
Deprecated
avatar_decoration?:string | null
Deprecated
The user's avatar decoration hash
bot?:boolean
Whether the user belongs to an OAuth2 application
discriminator:string
The user's Discord-tag
email?:string | null
The user's email
global_name:string | null
The user's display name, if it is set. For bots, this is the application name
The user's id
locale?:string
The user's chosen language option
mfa_enabled?:boolean
Whether the user has two factor enabled on their account
premium_type?:UserPremiumType
The type of Nitro subscription on a user's account
public_flags?:UserFlags
system?: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
verified?:boolean
Whether the email on this account has been verified