ZeNyfh / gigavibe

discord bot written in skript for audio functionality
GNU General Public License v3.0
1 stars 0 forks source link

forced new line causes issues in PyTTS.pyw #9

Closed ZeNyfh closed 2 years ago

ZeNyfh commented 2 years ago

bot says "hello" then stops

image

Python now shows

text = "ZeNyfh says, hello this is a test" import pyttsx3 ttsObject = pyttsx3.init() ttsObject.setProperty("voice",ttsObject.getProperty('voices')[0].id) ttsObject.setProperty("rate",160) ttsObject.save_to_file(text,"plugins/TTS.mp3") ttsObject.runAndWait()

ZeNyfh commented 2 years ago

im hoping i can just use something along the lines of: if arg-1 contains nl if this is not possible, @9382 fix it

9382 commented 2 years ago

This issue has been fixed, along with fitting filters