Structure
See
https://discord.com/developers/docs/resources/user#user-object-user-structure
Properties
id
id:
string
Defined in
username
username:
string
Defined in
discriminator
discriminator:
string
Defined in
global_name
global_name:
null|string
Defined in
avatar
avatar:
null|string
Defined in
bot?
optionalbot:boolean
Defined in
system?
optionalsystem:boolean
Defined in
mfa_enabled?
optionalmfa_enabled:boolean
Defined in
banner?
optionalbanner:null|string
Defined in
accent_color?
optionalaccent_color:null|number
Defined in
locale?
optionallocale:Locale
Defined in
verified?
optionalverified:boolean
Defined in
email?
optionalemail:null|string
Defined in
flags?
optionalflags:number
Bitfield of UserFlags
Defined in
premium_type?
optionalpremium_type:PremiumType
Defined in
public_flags?
optionalpublic_flags:number
Bitfield of UserFlags
Defined in
avatar_decoration?
optionalavatar_decoration:null|string