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?
optional
bot:boolean
Defined in
system?
optional
system:boolean
Defined in
mfa_enabled?
optional
mfa_enabled:boolean
Defined in
banner?
optional
banner:null
|string
Defined in
accent_color?
optional
accent_color:null
|number
Defined in
locale?
optional
locale:Locale
Defined in
verified?
optional
verified:boolean
Defined in
email?
optional
email:null
|string
Defined in
flags?
optional
flags:number
Bitfield of UserFlags
Defined in
premium_type?
optional
premium_type:PremiumType
Defined in
public_flags?
optional
public_flags:number
Bitfield of UserFlags
Defined in
avatar_decoration?
optional
avatar_decoration:null
|string