fix(audio): prevent pops during playback controls

This commit is contained in:
EvolvedGhost committed 2026-10-17 23:30:18 +08:00
1 parent c26998d296
commit a0f0b49a4e
3 files changed
+79 -18

No files matched your search

+1
View File
@@ -2103,6 +2103,7 @@ export class BotInstance extends EventEmitter {
this.isAdvancing = true;
let started = false;
try {
if (this.player.getState() !== "idle") this.player.stop(true);
this.voteSkipUsers.clear();
const next = this.queue.next();
if (next) {