dont set voice property?

This commit is contained in:
Nexus 2023-03-16 23:38:03 +00:00
parent 37574bb1e6
commit 5d76608bb6

View file

@ -835,7 +835,7 @@ class OtherCog(commands.Cog):
target_fn = f"/tmp/jimmy-tts-{ctx.user.id}-{ctx.interaction.id}.mp3"
_bot.console.log("Starting pyttsx3")
engine = pyttsx3.init()
engine.setProperty("voice", "english-north")
# engine.setProperty("voice", "english-north")
engine.setProperty("rate", 150)
_io = BytesIO()
_bot.console.log("Saving to file")