From f6631abbff0467e89254ff6ded5f5f4fb6c82eee Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Sun, 1 Nov 2020 14:16:23 +0100 Subject: [PATCH] :bug: Bring back support for Node v12 --- src/Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.js b/src/Player.js index 32bc5e2..79ae4e7 100644 --- a/src/Player.js +++ b/src/Player.js @@ -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) {