Skip to content

Commit f88127f

Browse files
authored
fix: reset paused state on stopPlaying
1 parent 49a7dd3 commit f88127f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/structures/Player.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ export class Player {
560560
// send to lavalink, that it should stop playing
561561
await this.node.updatePlayer({ guildId: this.guildId, playerOptions: { track: { encoded: null } } });
562562

563+
this.paused = false;
564+
563565
this.ping.lavalink = Math.round((performance.now() - now) / 10) / 100;
564566

565567
return this;
@@ -891,3 +893,4 @@ export class Player {
891893
}
892894
}
893895

896+

0 commit comments

Comments
 (0)