Interface: DiscordProfile
providers/discord.DiscordProfile
Corresponds to the user structure documented here: https://discord.com/developers/docs/resources/user#user-object-user-structure
Hierarchyβ
Record
<string
,any
>β³
DiscordProfile
Propertiesβ
accent_colorβ
β’ accent_color: null
| number
the user's banner color encoded as an integer representation of hexadecimal color code
avatarβ
β’ avatar: null
| string
the user's avatar hash: https://discord.com/developers/docs/reference#image-formatting
avatar_decorationβ
β’ avatar_decoration: null
| string
undocumented field; corresponds to the Discord feature where you can e.g. put your avatar inside of an ice cube
bannerβ
β’ banner: null
| string
the user's banner hash: https://discord.com/developers/docs/reference#image-formatting
banner_colorβ
β’ banner_color: null
| string
undocumented field; corresponds to the premium feature where you can select a custom banner color
discriminatorβ
β’ discriminator: string
the user's 4-digit discord-tag
display_nameβ
β’ display_name: null
| string
undocumented field; corresponds to the user's custom nickname
emailβ
β’ email: null
| string
the user's email
flagsβ
β’ flags: number
the flags on a user's account: https://discord.com/developers/docs/resources/user#user-object-user-flags
idβ
β’ id: string
the user's id (i.e. the numerical snowflake)
image_urlβ
β’ image_url: string
undocumented field; the CDN URL of their profile picture
localeβ
β’ locale: string
the user's chosen language option: https://discord.com/developers/docs/reference#locales
mfa_enabledβ
β’ mfa_enabled: boolean
whether the user has two factor enabled on their account
premium_typeβ
β’ premium_type: number
the type of Nitro subscription on a user's account: https://discord.com/developers/docs/resources/user#user-object-premium-types
public_flagsβ
β’ public_flags: number
the public flags on a user's account: https://discord.com/developers/docs/resources/user#user-object-user-flags
usernameβ
β’ username: string
the user's username, not unique across the platform
verifiedβ
β’ verified: boolean
whether the email on this account has been verified
botβ
β’ Optional
bot: boolean
whether the user belongs to an OAuth2 application
systemβ
β’ Optional
system: boolean
whether the user is an Official Discord System user (part of the urgent message system)