From fbbaa553525f3cd6dc6d44dc2404006b7c8a68c5 Mon Sep 17 00:00:00 2001 From: Zerio <43386412+ZerioDev@users.noreply.github.com> Date: Thu, 26 Nov 2020 22:12:55 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Update=20(v2.0.1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/play.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/commands/play.js b/commands/play.js index dba6b25..0c2ab69 100644 --- a/commands/play.js +++ b/commands/play.js @@ -1,10 +1,8 @@ -const emotes = require("../config/emojis.json"); - 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 (!message.member.voice.channel) return message.channel.send(`${client.emotes.error} - You're not in a voice channel !`); - if (!args[0]) return message.channel.send(`Please indicate the title of a song ${emotes.error}`); + if (!args[0]) return message.channel.send(`${client.emotes.error} - Please indicate the title of a song !`); client.player.play(message, args.join(" "));