📝 Correction
This commit is contained in:
@@ -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 (!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(" "));
|
client.player.play(message, args.join(" "));
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user