Merge branch 'Snowflake107-patch-3' into develop
This commit is contained in:
commit
9862716b79
1 changed files with 2 additions and 1 deletions
|
@ -811,6 +811,8 @@ class Player {
|
|||
seek: currentStreamTime
|
||||
})
|
||||
setTimeout(() => {
|
||||
if (queue.stream) queue.stream.destroy()
|
||||
queue.stream = newStream
|
||||
queue.voiceConnection.play(newStream, {
|
||||
type: 'opus'
|
||||
})
|
||||
|
@ -856,7 +858,6 @@ class Player {
|
|||
const nowPlaying = queue.playing = queue.repeatMode ? wasPlaying : queue.tracks.shift()
|
||||
// Reset lastSkipped state
|
||||
queue.lastSkipped = false
|
||||
|
||||
this._playYTDLStream(queue, false).then(() => {
|
||||
// Emit trackChanged event
|
||||
if (!firstPlay) {
|
||||
|
|
Loading…
Reference in a new issue