🐛 Fix clearQueue() method

This commit is contained in:
Androz2091 2020-12-26 22:12:54 +01:00
parent e8174adfcb
commit 82cc16aaaf

View file

@ -442,7 +442,7 @@ class Player extends EventEmitter {
const queue = this.queues.get(message.guild.id)
if (!queue) return this.emit('error', 'NotPlaying', message)
// Clear queue
queue.tracks = []
queue.tracks = queue.playing ? [queue.playing] : []
}
/**