User's avatar image. Possibly null if user does not have an avatar image
The Bot operating this structure
This user's DM channel with the bot, if cached
The user's email
The flags on a user's account
User's 4-digit discord-tag
The user's ID
Whether the user is a bot
The user's chosen language option
Whether the user has two factor enabled on their account
NitroType object containing the type of nitro subscription on a user's account
The public flags on a user's account
Whether the user is an Official Discord System user (part of urgent message system)
User's username, not unique across the platform
Whether the email on this user has been verified
Combines a user's username and hashtag and generates a full name
Returns a user's avatar URL. Returns the default user avatar if the user does not have an avatar. Note: the default user avatar only supports type UserAvatarFormat.PNG
The avatar image format
The avatar image size
Clone a structure
Creates a new DM channel between this user and the bot user
Fetches the guilds the bot user is a member of
The options for the fetch operation
Leaves a guild by its ID
The ID of the guild
Modifies this bot's user account settings
The options for the modified bot user
Sends a DM message to the user from the bot user
Identical to the arguments of TextChannel.sendMessage
Identical to the return type of TextChannel.sendMessage
Update a structure and return its before and after versions
The updated data
Generated using TypeDoc
Represents the bot's user account