APIUser
Index
Properties
optionalaccent_color
The user’s banner color encoded as an integer representation of hexadecimal color code
avatar
The user’s avatar hash
optionalavatar_decoration
The user’s avatar decoration hash
optionalbanner
The user’s banner hash
optionalbot
Whether the user belongs to an OAuth2 application
discriminator
The user’s Discord-tag
optionalemail
The user’s email
optionalflags
The flags on a user’s account
global_name
The user’s display name, if it is set. For bots, this is the application name
id
The user’s id
optionallocale
The user’s chosen language option
optionalmfa_enabled
Whether the user has two factor enabled on their account
optionalpremium_type
The type of Nitro subscription on a user’s account
optionalpublic_flags
The public flags on a user’s account
optionalsystem
Whether the user is an Official Discord System user (part of the urgent message system)
username
The user’s username, not unique across the platform
optionalverified
Whether the email on this account has been verified
https://discord.com/developers/docs/resources/user#user-object