seyfert
Version:
The most advanced framework for discord bots
12 lines (11 loc) • 603 B
TypeScript
import { type ClientUserStructure } from '../client';
import type { UsingClient } from '../commands';
import type { GatewayReadyDispatchData, RESTPatchAPICurrentUserJSONBody } from '../types';
import { User } from './User';
export declare class ClientUser extends User {
application: GatewayReadyDispatchData['application'];
bot: boolean;
constructor(client: UsingClient, data: GatewayReadyDispatchData['user'], application: GatewayReadyDispatchData['application']);
fetch(): Promise<ClientUserStructure>;
edit(body: RESTPatchAPICurrentUserJSONBody): Promise<ClientUserStructure>;
}