📝 Disable repeat mode when calling stop in a loop (by andreash64)

Disable repeat mode when calling stop in a loop.
This commit is contained in:
Zerio
2020-09-12 12:30:08 +02:00
committed by GitHub

View File

@@ -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