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
See https://discord.com/developers/docs/reference#image-formatting
optionalavatar_decoration
The user's avatar decoration hash
See https://discord.com/developers/docs/reference#image-formatting
optionalavatar_decoration_data
The data for the user's avatar decoration
See https://discord.com/developers/docs/resources/user#avatar-decoration-data-object
optionalbanner
The user's banner hash
See https://discord.com/developers/docs/reference#image-formatting
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
See https://discord.com/developers/docs/resources/user#user-object-user-flags
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
See https://discord.com/developers/docs/resources/user#user-object-premium-types
optionalpublic_flags
The public flags on a user's account
See https://discord.com/developers/docs/resources/user#user-object-user-flags
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