player-engine
Advanced tools
Comparing version 0.1.4-beta.1 to 0.1.4-beta.2
@@ -158,3 +158,6 @@ "use strict"; | ||
return false; | ||
this.endedTracks.concat(this.tracks.splice(0, num)); | ||
if (this.endedTracks.length > 0) | ||
this.endedTracks.concat(this.tracks.splice(0, num)); | ||
else | ||
this.endedTracks = this.tracks.splice(0, num); | ||
this.currentTrack = this.tracks[0]; | ||
@@ -178,3 +181,6 @@ this.emit(Enums_1.QueueEvents.CHANGE, { action: "skip", counts: num }); | ||
return; | ||
this.tracks.concat(x); | ||
if (this.tracks.length > 0) | ||
this.tracks.concat(x); | ||
else | ||
this.tracks = x; | ||
this.currentTrack = this.tracks[0]; | ||
@@ -181,0 +187,0 @@ return this; |
{ | ||
"name": "player-engine", | ||
"description": "Play your Musics in Your Discord Music Bot | Discord.js V13 Only", | ||
"version": "0.1.4-beta.1", | ||
"version": "0.1.4-beta.2", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
43018
983