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.
Use User#avatarDecorationData.asset instead. This will be removed in 1.12.0.
The data for this user's avatar decoration.
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 primary clan this user is in.
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)
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.
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.
Modify this user.
The options for editing the user.
Get the entitlements for this guild.
Optional
options: Omit<SearchEntitlementsOptions, "userID">The options for getting the entitlements.
Optional
applicationID: stringStatic
generateIDStatic
getStatic
get
Represents the currently authenticated user.