fix: Cookie handler

fix captcha
This commit is contained in:
Elysia
2023-06-01 18:26:22 +07:00
parent 3763233c38
commit 87fb38c82c
5 changed files with 8 additions and 22 deletions

4
typings/index.d.ts vendored
View File

@@ -981,8 +981,8 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
public isReady(): this is Client<true>;
/** @deprecated Use {@link Sweepers#sweepMessages} instead */
public sweepMessages(lifetime?: number): number;
public customStatusAuto(client?: this): undefined;
public authorizeURL(url: string, options?: object): Promise<undefined>;
private customStatusAuto(client?: this): undefined;
public authorizeURL(url: string, options?: object): Promise<object>;
public sleep(milliseconds: number): Promise<void> | null;
private _clearCache(cache: Collection<any, any>): void;
public toJSON(): unknown;