From d5bb7585da03a2503c4497fb26051920944ebede Mon Sep 17 00:00:00 2001 From: Papageorgiadis Savvas <50584606+papsavas@users.noreply.github.com> Date: Sun, 13 Jun 2021 21:30:34 +0300 Subject: [PATCH] types(GuildApplicationCommandManager): allow undefined command (#5837) Co-authored-by: Almeida --- 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 74bbd79e3..b20010fda 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2117,7 +2117,7 @@ declare module 'discord.js' { public edit(command: ApplicationCommandResolvable, data: ApplicationCommandData): Promise; public fetch(id: Snowflake, options?: BaseFetchOptions): Promise; public fetch(id?: Snowflake, options?: BaseFetchOptions): Promise>; - public fetchPermissions(command: undefined): Promise>; + public fetchPermissions(): Promise>; public fetchPermissions(command: ApplicationCommandResolvable): Promise; public set(commands: ApplicationCommandData[]): Promise>; public setPermissions(