🐛 Use queue#playing for nowPlaying() function
This commit is contained in:
parent
347750ec06
commit
f98a8d73ab
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue