🐛 Fix clearQueue() method
This commit is contained in:
parent
e8174adfcb
commit
82cc16aaaf
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ class Player extends EventEmitter {
|
|||
const queue = this.queues.get(message.guild.id)
|
||||
if (!queue) return this.emit('error', 'NotPlaying', message)
|
||||
// Clear queue
|
||||
queue.tracks = []
|
||||
queue.tracks = queue.playing ? [queue.playing] : []
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue