Skip to content

Commit c41a850

Browse files
authored
Merge branch 'main' into main
2 parents eb67e84 + fbe88d3 commit c41a850

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ This client powers various Discord bots:
122122
- [BeatBot](https://getbeatbot.vercel.app/) (@zenitsujs)
123123
- [Atom Music](https://top.gg/bot/1320469557411971165) (@sakshamyep)
124124
- [All Time Bot](https://top.gg/bot/1163027457671180418) (@PeterGamez)
125+
- [BeatDock](https://github.com/lazaroagomez/BeatDock) (@lazaroagomez)
125126

126127
***
127128

src/structures/Player.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,8 @@ export class Player {
559559

560560
// send to lavalink, that it should stop playing
561561
await this.node.updatePlayer({ guildId: this.guildId, playerOptions: { track: { encoded: null } } });
562+
// on some cases the sending of "stopplaying state" from lavalink does not happen, so we hardcode it, just to be sure.
563+
this.paused = false;
562564

563565
this.ping.lavalink = Math.round((performance.now() - now) / 10) / 100;
564566

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

896+

0 commit comments

Comments
 (0)