The default avatar value of this user.
If this user has migrated to the new username system.
A string that will mention this user.
This user's unique username, if migrated, else a combination of the user's username and discriminator.
The url of this user's avatar decoration. This will always be a png. Discord does not combine the decoration and their current avatar for you. This is ONLY the decoration.
Optional
size: numberThe dimensions of the image.
As of 12/8/2022 (Dec 8) avatar_decoration
is only visible to bots if they set an X-Super-Properties
header with a client_build_number
~162992. You can do this via the rest.superProperties option.
Create a direct message with this user.
Modify this user.
The options for editing the user.
Static
generateIDStatic
getStatic
getOptional
accentThe user's banner color. If this member was received via the gateway, this will never be present.
The user's avatar hash.
Optional
avatarThe hash of this user's avatar decoration. This will always resolve to a png.
Optional
bannerThe user's banner hash. If this member was received via the gateway, this will never be present.
If this user is a bot.
The 4 digits after this user's username, if they have not been migrated. If migrated, this will be a single "0".
The user's email. (always null for bots)
The flags of the user.
The user's display name, if set.
Optional
localeThe locale of the user
If the user has mfa enabled on their account
The user's public flags.
If this user is an official discord system user.
The user's username.
If this user's email is verified. (always true for bots)
Represents the currently authenticated user.