Will be true
if the user is a bot user.
The user's 4-digit user suffix. It appears after the username on a user's profile page and is needed to send friend requests.
Example: Given the user "Somebody#0001", "Somebody" is the username.
The user's unique Discord id. This field never changes.
Bitflags representing the user's flags.
The user's username. This can be changed by the user at any time.
Example: Given the user "Somebody#0001", "Somebody" is the username.
Used to return a URL to user's avatar image.
For animated avatars, it will be a GIF. Otherwise, it will return a PNG.
If a user's avatar hash is null, it returns a URL to the generic logo-style avatar.
Specifying the type will force the image to be returned as the specified format.
Returns a string containing the username and discriminator.
For example, Someone#0001
Returns a mention string in the format of <@id>
where id is the id of this user.
Generated using TypeDoc
A hash of the user's current avatar.
Note: Use discord.User.getAvatarUrl to retrieve a URL for the avatar.