From dfc360368cc67b8a947df084be895feafb7c906f Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Wed, 27 Nov 2019 14:06:24 +0200 Subject: [PATCH] Update loop.js --- commands/loop.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commands/loop.js b/commands/loop.js index 98a4a76e..59337ae8 100644 --- a/commands/loop.js +++ b/commands/loop.js @@ -9,7 +9,6 @@ module.exports = { const permissions = message.channel.permissionsFor(message.author); const { voiceChannel } = message.member; if (!serverQueue) return message.channel.send(':x: There is nothing playing.'); - if (serverQueue.playing) { if (message.author.id !== client.config.devId) { if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voice channel as Musix to loop the queue!'); if (client.global.db.guilds[message.guild.id].permissions === true) { @@ -25,8 +24,5 @@ module.exports = { serverQueue.looping = false; message.channel.send(':repeat: No longer looping the queue!'); } - } else { - message.channel.send(':x: There is nothing playing!'); - } } };