From 6028e2a63df226f5aaf9651f2ec13459ae0fbcf8 Mon Sep 17 00:00:00 2001 From: TheDevYellowy Date: Mon, 1 Aug 2022 09:57:56 -0500 Subject: [PATCH] change returns to null --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 9a7bb8e..5e2f8ca 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -337,7 +337,7 @@ export abstract class Application extends Base { public coverURL(options?: StaticImageURLOptions): string | null; /** @deprecated This method is deprecated as it is unsupported and will be removed in the next major version. */ public fetchAssets(): Promise; - public invite(guildID: string, permissions: number, captcha: string): Promise; + public invite(guildID: string, permissions: number, captcha: string): null; public iconURL(options?: StaticImageURLOptions): string | null; public toJSON(): unknown; public toString(): string | null;