Optional
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 display name, if set.
The user's public flags.
If this user is an official discord system user.
The user's username.
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.
Create a test entitlement for this user.
The ID of the SKU to create an entitlement for.
Optional
applicationID: stringThe ID of the application to create the entitlement for. If present, defaults to the logged in client's application id.
Get the entitlements for this guild.
Optional
options: Omit<SearchEntitlementsOptions, "userID">The options for getting the entitlements.
Optional
applicationID: stringStatic
generateIDStatic
getStatic
get
Represents a user.