From 27983fcbe6b5105f342f2153415cbf74d8df9477 Mon Sep 17 00:00:00 2001 From: Andreas Hollmeier Date: Fri, 11 Sep 2020 22:29:08 +0200 Subject: [PATCH] calling stop while looping now terminates the loop --- commands/stop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/stop.js b/commands/stop.js index 5a7dea0..1301514 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -10,6 +10,7 @@ exports.run = async (client, message, args) => { if(!client.player.isPlaying(message.guild.id)) return message.channel.send(`No music playing on this server ${emotes.error}`); //Stop player + client.player.setRepeatMode(message.guild.id, false); client.player.stop(message.guild.id); //Message