Optional
avatar?: { Avatar attachment
Unique Id
Raw content type of this file
Optional
deleted?: booleanWhether this file was deleted
Original filename
Optional
message_Parsed metadata of this file
Optional
object_Id of the object this file is associated with
Optional
reported?: booleanWhether this file was reported
Optional
server_Format: int
Size of this file (in bytes)
Tag / bucket this file was uploaded to
Optional
user_Optional
badges?: numberFormat: int32
Bitfield of user badges
Optional
bot?: { Bot information
Id of the owner of this bot
Discriminator
Optional
display_Display name
Optional
flags?: numberFormat: int32
Enum of user flags
Optional
online?: booleanWhether this user is currently online
Optional
privileged?: booleanWhether this user is privileged
Optional
profile?: { User's profile page
Optional
background?: { Background visible on user's profile
Unique Id
Raw content type of this file
Optional
deleted?: booleanWhether this file was deleted
Original filename
Optional
message_Parsed metadata of this file
Optional
object_Id of the object this file is associated with
Optional
reported?: booleanWhether this file was reported
Optional
server_Format: int
Size of this file (in bytes)
Tag / bucket this file was uploaded to
Optional
user_Optional
content?: stringText content on user's profile
Optional
relations?: { Relationships with other users
Optional
relationship?: "Blocked" | "Friend" | "Incoming" | "None" | "Outgoing" | "User" | "BlockedOther"Current session user's relationship with this user
Optional
status?: { User's current status
Optional
presence?: "Online" | "Idle" | "Focus" | "Busy" | "Invisible"Current presence option
Optional
text?: stringCustom status text
Username
Protected
_idIf this user is a bot, their bot information.
Four-digit discrimator for this user.
This user's display name. (if any)
Original API object.
Full tag for this user. (username#discriminator)
Username for this user.
Fetch your mutual friends/servers with this user.
Fetch this user's profile information.
Rest
...args: AttachmentArgsStops listening for Map updates.
this
, useful for chaining.
The callback to stop listening for updates on.
Listen for an update to this Map.
this
, useful for chaining.
The callback to run when an update occurs.
Update this object with new API data.
Description
Unique Id