From b892bdaa9d0127d51e128a165cd36dc596ec5aad Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Wed, 5 May 2021 18:13:18 +0200 Subject: [PATCH] deno extension has bad linter --- src/handlers/misc/READY.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers/misc/READY.ts b/src/handlers/misc/READY.ts index d6c077300..56188fdd7 100644 --- a/src/handlers/misc/READY.ts +++ b/src/handlers/misc/READY.ts @@ -79,10 +79,10 @@ function loaded(shardId: number) { if (shardId === ws.lastShardId - 1) { // Still some shards are loading so wait another 2 seconds for them if (ws.shards.some((shard) => !shard.ready)) { - setTimeout(async () => { + setTimeout(() => { eventHandlers.debug?.( "loop", - `3. Running setTimeout in CHANNEL_DELTE file.`, + `3. Running setTimeout in READY file.`, ); loaded(shardId); }, 2000);