From 4b431b8673a12940029fe38dfdba73ad33469000 Mon Sep 17 00:00:00 2001 From: Zerio <43386412+ZerioDev@users.noreply.github.com> Date: Sun, 15 Nov 2020 20:42:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Correction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/play.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/play.js b/commands/play.js index 3b2b644..dba6b25 100644 --- a/commands/play.js +++ b/commands/play.js @@ -4,6 +4,8 @@ exports.run = async (client, message, args) => { if (!message.member.voice.channel) return message.channel.send(`You're not in a voice channel ${emotes.error}`); + if (!args[0]) return message.channel.send(`Please indicate the title of a song ${emotes.error}`); + client.player.play(message, args.join(" ")); };