From 8f8911545fe769c98a9711bf2a65b696215843c6 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Mon, 27 Dec 2021 00:56:29 +0500 Subject: [PATCH] dont listen to disconnect --- base/JaBa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/JaBa.js b/base/JaBa.js index aeccc8fd..24d48271 100644 --- a/base/JaBa.js +++ b/base/JaBa.js @@ -89,8 +89,8 @@ class JaBa extends Client { })); }) .on("finish", queue => queue.textChannel.send(this.translate("music/play:QUEUE_ENDED"))) - .on("disconnect", queue => queue.textChannel.send(this.translate("music/play:STOP_DISCONNECTED"))) .on("empty", queue => queue.textChannel.send(this.translate("music/play:STOP_EMPTY"))); + // .on("disconnect", queue => queue.textChannel.send(this.translate("music/play:STOP_DISCONNECTED"))) this.giveawaysManager = new GiveawaysManager(this, { storage: "./giveaways.json",