Bug fixes & update (v3.0.0)

This commit is contained in:
Zerio
2020-12-12 00:34:12 +01:00
parent 76ef847189
commit df45502d7b
48 changed files with 438 additions and 342 deletions

14
commands/music/play.js Normal file
View File

@@ -0,0 +1,14 @@
module.exports = {
name: 'play',
aliases: ['p'],
category: 'Music',
utilisation: '{prefix}play [name/URL]',
execute(client, message, args) {
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(`${client.emotes.error} - Please indicate the title of a song !`);
client.player.play(message, args.join(" "));
},
};