From adc4c8c3209a2a9609896d38c311802402ec6272 Mon Sep 17 00:00:00 2001 From: PandaIN95 <95042588+PandaIN95@users.noreply.github.com> Date: Tue, 10 Dec 2024 22:21:26 +0530 Subject: [PATCH] Fix: autoPlay not getting when previous autoPlay call did not add any tracks to queue --- src/structures/Node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Node.ts b/src/structures/Node.ts index c8f4a1e..37e1b9b 100644 --- a/src/structures/Node.ts +++ b/src/structures/Node.ts @@ -1505,7 +1505,7 @@ export class LavalinkNode { } player.set("internal_skipped", false); - player.set("internal_autoplayStopPlaying", Date.now()); + player.set("internal_autoplayStopPlaying", undefined); if (track && !track?.pluginInfo?.clientData?.previousTrack) { // If there was a current Track already and repeatmode === true, add it to the queue. player.queue.previous.unshift(track);