From 3322cb5cb0f5c2f9c75f535248d5b81bbbb5dd46 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sat, 12 Nov 2022 13:24:08 +0700 Subject: [PATCH] idk bro --- plugins/console.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/console.js b/plugins/console.js index e080cc6..9fa46ef 100644 --- a/plugins/console.js +++ b/plugins/console.js @@ -25,6 +25,7 @@ function inject(bot, dcclient, config, rl) { bot.once('end', () => { clearInterval(consoleQueueInterval); + rl.removeAllListeners(); }); // readline > fix on console.log