Construct User
Collection
Id
Private
Readonly
#collectionReadonly
idWhether this object exists
URL to the user's animated avatar
URL to the user's avatar
Badges
Bot information
Time when this user created their account
URL to the user's default avatar
Discriminator
Display Name
Whether the user is online
Permissions against this user
Presence
Whether the user is privileged
Relationship with user
Whether this user is ourselves
User Status
Username
Change the username of the current user
New username
Current password
Edit the user
Changes
Optional
avatar?: null | stringAttachment Id for avatar
Optional
badges?: null | numberFormat: int32
Bitfield of user badges
Optional
display_New display name
Optional
flags?: null | numberFormat: int32
Enum of user flags
Optional
profile?: null | { New user profile data
This is applied as a partial.
Optional
remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground" | "DisplayName")[]Fields to remove from user object
Optional
status?: null | { New user status
Fetch the profile of a user
The profile of the user
Generated using TypeDoc
User Class