🐛 Bring back support for Node v12

This commit is contained in:
Androz2091 2020-11-01 14:16:23 +01:00
parent 8bdd3a83cc
commit f6631abbff

View file

@ -615,7 +615,7 @@ class Player extends EventEmitter {
this.queues.delete(queue.guildID)
// Emit end event
queue.emit('channelEmpty', queue.firstMessage, queue)
}, this.options.leaveOnEmptyCooldown ?? 0)
}, this.options.leaveOnEmptyCooldown || 0)
}
_playYTDLStream (queue, updateFilter) {