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

16
commands/music/skip.js Normal file
View File

@@ -0,0 +1,16 @@
module.exports = {
name: 'skip',
aliases: ['sk'],
category: 'Music',
utilisation: '{prefix}skip',
execute(client, message) {
if (!message.member.voice.channel) return message.channel.send(`${client.emotes.error} - You're not in a voice channel !`);
if (!client.player.getQueue(message)) return message.channel.send(`${client.emotes.error} - No music currently playing !`);
client.player.skip(message);
message.channel.send(`${client.emotes.success} - The current music has just been **skipped** !`);
},
};