✨ Update (v2.0.1)
This commit is contained in:
@@ -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(" "));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user