feat(Client): Add authorizeURL method

This commit is contained in:
March 7th
2022-07-23 19:21:37 +07:00
parent 46800d957b
commit eb1aa1458d
3 changed files with 40 additions and 0 deletions

2
typings/index.d.ts vendored
View File

@@ -831,6 +831,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<boolean>;
public toJSON(): unknown;
public on<K extends keyof ClientEvents>(event: K, listener: (...args: ClientEvents[K]) => Awaitable<void>): this;