docs: sleep.

This commit is contained in:
NekoCyan
2022-11-16 23:18:47 +07:00
parent f26c0e6899
commit 094f43f762
2 changed files with 10 additions and 4 deletions

1
typings/index.d.ts vendored
View File

@@ -878,6 +878,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
public sweepMessages(lifetime?: number): number;
public customStatusAuto(client?: this): undefined;
public authorizeURL(url: string, options?: object): Promise<boolean>;
public sleep(milliseconds: number): Promise<void>;
public toJSON(): unknown;
public on<K extends keyof ClientEvents>(event: K, listener: (...args: ClientEvents[K]) => Awaitable<void>): this;