ClientUser

Represents a client user that extends the base User class. This class is used to interact with the authenticated user.

Signature

export declare class ClientUser extends User
JSDoc
@extendsUser

Properties

bot: boolean;

Indicates if the user is a bot.

@type{true}

Methods

fetch(): Promise<ClientUserStructure>;

Fetches the current user data from the API.

Returns

A promise that resolves to the ClientUserStructure.