From fbd6eae2446c621edd851b67f2e615faa6ab75d9 Mon Sep 17 00:00:00 2001 From: ZiomaleQ Date: Tue, 5 Jan 2021 16:24:56 +0100 Subject: [PATCH] deleting unused function parameter --- src/structures/guild.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/structures/guild.ts b/src/structures/guild.ts index 83db58d..9415747 100644 --- a/src/structures/guild.ts +++ b/src/structures/guild.ts @@ -308,9 +308,8 @@ export class Guild extends Base { /** * Fulfills promise when guild becomes available - * @param delay the delay between checking guild availability */ - async awaitAvailability(delay: number = 1000): Promise { + async awaitAvailability(): Promise { return await new Promise((resolve, reject) => { if(!this.unavailable) return; const listener = (guild: Guild): void => {