From 617e3b62044ba95baa5039ee6068d8774bc35f49 Mon Sep 17 00:00:00 2001 From: Helloyunho Date: Thu, 21 Jan 2021 14:54:33 +0900 Subject: [PATCH] Make prune type a bit better --- src/structures/guild.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/structures/guild.ts b/src/structures/guild.ts index 59393ad..6fe590c 100644 --- a/src/structures/guild.ts +++ b/src/structures/guild.ts @@ -393,12 +393,7 @@ export class Guild extends Base { ): Promise async prune( days?: number, - computePruneCount?: true, - includeRoles?: Array - ): Promise - async prune( - days?: number, - computePruneCount?: undefined, + computePruneCount?: true | undefined, includeRoles?: Array ): Promise async prune(