Moved to ky for requests, significant improvements to YT client implementation with ky instances
This commit is contained in:
@@ -46,6 +46,12 @@ class Queue {
|
||||
return this.currentSongs[this.currentPosition]
|
||||
}
|
||||
|
||||
get upNext() {
|
||||
if (this.currentSongs.length === 0 && this.currentPosition >= this.currentSongs.length) return null
|
||||
|
||||
return this.currentSongs[this.currentPosition + 1]
|
||||
}
|
||||
|
||||
get list() {
|
||||
return this.currentSongs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user