From f98a8d73abeec91cf280c43ebe85ca431fdc04ae Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Wed, 24 Jun 2020 11:12:57 +0200 Subject: [PATCH] :bug: Use queue#playing for nowPlaying() function --- src/Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.js b/src/Player.js index b5cc4a3..5eb388b 100644 --- a/src/Player.js +++ b/src/Player.js @@ -527,7 +527,7 @@ class Player { // Get guild queue const queue = this.queues.find((g) => g.guildID === guildID) if (!queue) return reject(new Error('Not playing')) - const currentTrack = queue.tracks[0] + const currentTrack = queue.playing // Resolve the current track resolve(currentTrack) })