改进 🍰

This commit is contained in:
2025-08-28 13:08:37 +08:00
parent fc58f61dfe
commit beeb2fd318
21 changed files with 258 additions and 19 deletions

View File

@@ -38,6 +38,9 @@ class ConfigFile:
return self.data.get(key, default)
def action_play_voice(content):
config = ConfigFile("config.toml")
if config.get("auto_voice", False):
return
def play():
communicate = tts.Communicate(
content,