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.`)); };