Fix post-to-discord checkbox: pass skip_post flag to bot, skip posting when unchecked

This commit is contained in:
2026-06-08 03:24:20 -05:00
parent 579c4c0a9f
commit ee3c452670
2 changed files with 9 additions and 6 deletions
+1
View File
@@ -442,6 +442,7 @@ def api_tts_generate():
"mode_override": mode,
"voice_override": voice,
"skip_vc": True,
"skip_post": not data.get("post_to_discord", True),
"guild_id": _resolve_guild_id(),
})