🐛 Bring back support for Node v12
This commit is contained in:
parent
8bdd3a83cc
commit
f6631abbff
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue