mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
docs: clarify exhausted-queue refill is defensive-only in FM RandomLoop mode
This commit is contained in:
1 parent
24da8cfc2e
commit
5d74979af3
1 file changed
+1
-1
+1
-1
@@ -690,7 +690,7 @@ export class BotInstance extends EventEmitter {
|
||||
this.refillFm().catch(err => this.logger.error({ err }, "Proactive FM refill failed"));
|
||||
}
|
||||
} else {
|
||||
// Queue exhausted — in FM mode, refill instead of stopping
|
||||
// Defensive: only reached if play mode is changed away from RandomLoop during FM
|
||||
if (this.isFmMode) {
|
||||
await this.refillFm();
|
||||
const refillNext = this.queue.next();
|
||||
|
||||
Reference in new issue
Block a user