APIUser
Index
Properties
accent_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
banner
The user’s banner hash
optionalbot
Whether the user belongs to an OAuth2 application
discriminator
The user’s Discord-tag
optionalflags
The flags on a user’s account
optionalglobal_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
premium_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
https://discord.com/developers/docs/resources/user#user-object-user-structure