fix music fixer inside of play function

This commit is contained in:
Lukáš H 2020-06-06 09:57:46 +02:00
parent 47f163dcab
commit d585ffa45c
No known key found for this signature in database
GPG key ID: 52AED802C323B705

View file

@ -105,7 +105,7 @@ exports.play = async function (client, message, query, playNext, ignoreQueue) {
guild.skippers = [] guild.skippers = []
guild.fixers = [] guild.fixers = []
// music not playing, something is in queue // music not playing, something is in queue
} else if (!guild.playing && !guild.dispatcher && guild.queue.length > 0) { } else if ((!guild.playing || !guild.dispatcher) && guild.queue.length > 0) {
guild.queue = [] guild.queue = []
} }