From ac4dbc758d04322bef233fead5ade4110da10876 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sun, 10 Dec 2023 23:25:24 +0200 Subject: [PATCH] a --- src/middleware/shard/Shard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/shard/Shard.ts b/src/middleware/shard/Shard.ts index c6533d9..48958cf 100644 --- a/src/middleware/shard/Shard.ts +++ b/src/middleware/shard/Shard.ts @@ -149,7 +149,7 @@ class Shard extends EventEmitter const onDisconnect = () => { - cleanup(true); + cleanup(); reject(new Error(`[shard${this.id}] Shard disconnected while readying.`)); };