Creates an instance of ClientUser.
The client instance used for making API requests.
The user data received from the gateway.
The application data received from the gateway.
Optional
accentReadonly
applicationThe application data received from the gateway.
Optional
avatarOptional
bannerIndicates if the user is a bot.
Readonly
clientOptional
emailOptional
flagsOptional
localeOptional
mfaOptional
premiumOptional
publicOptional
systemOptional
verifiedcreatedAt gets the creation Date instace of the current object.
Create a timestamp for the current object.
Optional
options: CDNUrlOptionsOptional
options: CDNUrlOptionsOptional
options: CDNUrlOptionsEdits the current user data.
The data to update the user with.
A promise that resolves to the updated ClientUserStructure.
Fetches the current user data from the API.
A promise that resolves to the ClientUserStructure.
Returns a string representation of an object.
Represents a client user that extends the base User class. This class is used to interact with the authenticated user.