lavalink-client 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -653,6 +653,7 @@ class LavalinkNode {
|
|
|
653
653
|
}
|
|
654
654
|
async trackStuck(player, track, payload) {
|
|
655
655
|
this.NodeManager.LavalinkManager.emit("trackStuck", player, track, payload);
|
|
656
|
+
return; // trackEnd get's executed too
|
|
656
657
|
// If there are no songs in the queue
|
|
657
658
|
if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
|
|
658
659
|
return this.queueEnd(player, track, payload);
|
|
@@ -666,6 +667,7 @@ class LavalinkNode {
|
|
|
666
667
|
}
|
|
667
668
|
async trackError(player, track, payload) {
|
|
668
669
|
this.NodeManager.LavalinkManager.emit("trackError", player, track, payload);
|
|
670
|
+
return; // trackEnd get's executed too
|
|
669
671
|
// If there are no songs in the queue
|
|
670
672
|
if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
|
|
671
673
|
return this.queueEnd(player, track, payload);
|
|
@@ -649,6 +649,7 @@ export class LavalinkNode {
|
|
|
649
649
|
}
|
|
650
650
|
async trackStuck(player, track, payload) {
|
|
651
651
|
this.NodeManager.LavalinkManager.emit("trackStuck", player, track, payload);
|
|
652
|
+
return; // trackEnd get's executed too
|
|
652
653
|
// If there are no songs in the queue
|
|
653
654
|
if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
|
|
654
655
|
return this.queueEnd(player, track, payload);
|
|
@@ -662,6 +663,7 @@ export class LavalinkNode {
|
|
|
662
663
|
}
|
|
663
664
|
async trackError(player, track, payload) {
|
|
664
665
|
this.NodeManager.LavalinkManager.emit("trackError", player, track, payload);
|
|
666
|
+
return; // trackEnd get's executed too
|
|
665
667
|
// If there are no songs in the queue
|
|
666
668
|
if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
|
|
667
669
|
return this.queueEnd(player, track, payload);
|
package/package.json
CHANGED