From eaa5e016f9e7a2ddab41e72b45ac5fe83b804a99 Mon Sep 17 00:00:00 2001 From: Zerio <43386412+ZerioDev@users.noreply.github.com> Date: Mon, 24 Aug 2020 10:04:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Corrections=20play=20command=20(?= =?UTF-8?q?by=20Swarwerth)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/play.js b/commands/play.js index 1a631f9..18315f0 100644 --- a/commands/play.js +++ b/commands/play.js @@ -11,7 +11,7 @@ exports.run = async (client, message, args) => { const aTrackIsAlreadyPlaying = client.player.isPlaying(message.guild.id); - // If there's already a track playing + //If there's already a track playing if(aTrackIsAlreadyPlaying){ //Add the track to the queue @@ -29,7 +29,7 @@ exports.run = async (client, message, args) => { } else { - // Else, play the song + //Else, play the song const result = await client.player.play(message.member.voice.channel, args.join(" ")).catch(() => {}); if(!result) { message.member.voice.channel.leave()