fix: ts setActivity #722

This commit is contained in:
Elysia 2023-06-23 00:41:13 +07:00
parent aa749efa64
commit 390463e115

2
typings/index.d.ts vendored
View File

@ -1050,7 +1050,7 @@ export class ClientUser extends User {
public premiumUsageFlags: PremiumUsageFlags;
public setThemeColors(primary?: ColorResolvable, accent?: ColorResolvable): ClientUser;
public edit(data: ClientUserEditData): Promise<this>;
public setActivity(options?: ActivityOptions): ClientPresence;
public setActivity(options?: ActivitiesOptions): ClientPresence;
public setActivity(name: string, options?: ActivityOptions): ClientPresence;
public setAFK(afk?: boolean, shardId?: number | number[]): ClientPresence;
public setAvatar(avatar: BufferResolvable | Base64Resolvable | null): Promise<this>;