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
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 the user's username.
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 (discriminator modulo 5).
A string that will mention this user.
a combination of this user's username and discriminator.
The url of this user's avatar (or default avatar, if they have not set an avatar).
Optional
format: "jpg" | "jpeg" | "png" | "webp" | "gif"The format the url should be.
Optional
size: numberThe dimensions of the image.
Create a direct message with this user.
Static
getStatic
get
Represents a user.