Bug fixes & update (v5.0.0)

This commit is contained in:
Zerio
2020-12-27 01:18:00 +01:00
parent 3221ffece1
commit 887ed4dfbb
10 changed files with 49 additions and 17 deletions

View File

@@ -11,6 +11,8 @@ module.exports = {
if (!client.player.getQueue(message)) return message.channel.send(`${client.emotes.error} - No music currently playing !`);
if (client.player.getQueue(message).tracks.length <= 1) return message.channel.send(`${client.emotes.error} - There is only one song in the queue.`);
client.player.clearQueue(message);
message.channel.send(`${client.emotes.success} - The queue has just been **removed** !`);