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

View File

@@ -0,0 +1,16 @@
module.exports = {
name: 'clear-queue',
aliases: ['cq'],
category: 'Music',
utilisation: '{prefix}clear-queue',
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.clearQueue(message);
message.channel.send(`${client.emotes.success} - The queue has just been **removed** !`);
},
};