From 5e4b2299e82fd461cd63eba58a157a0cac2e3db6 Mon Sep 17 00:00:00 2001 From: Erit Islami Date: Thu, 27 Jan 2022 10:36:35 +0100 Subject: [PATCH] fix(stop): turn off loop before ending queue --- commands/stop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/stop.js b/commands/stop.js index 4392146cd..ead532130 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -10,6 +10,7 @@ module.exports = { if (!queue) return message.reply(i18n.__("stop.errorNotQueue")).catch(console.error); if (!canModifyQueue(message.member)) return i18n.__("common.errorNotChannel"); + queue.loop = false; queue.songs = []; queue.connection.dispatcher.end(); queue.textChannel.send(i18n.__mf("stop.result", { author: message.author })).catch(console.error);