A TTS reading out Twitch chat loud with multiple settings you'll be able to change :)
I'd really appreciate Donations, so if you're extra-nice, you might want to give a donation to your hearts extent! Thank you!
You'll (maybe?) need to add System.Speech available on your System as Reference You'll also need TwitchLib available on NuGet and you're good to go.
- Download the Program and extract
- Go into Config and open up creds.txt
- Set up your Bot-Account ID and enter your ID below "ID:"(Just create a Twitch Account, all lowercase!)
- Create an OAuth Key and enter your Key below "Oauth:"
- Set the channel, where it should connect to (all lowercase!)
- Open up the .exe and check what voices your PC Supports (It'll be shown inside the Console)
- Copy a voice its name (Care lower & uppercase) and put it in your Config it's options.txt its "voice"
- Set Max-Letters Length, which should be Displayed (After for example 40 Letters, the bot will say "to be continued")
- To read out everything until the end, leave the Setting at 0.
- Run the program, type something in your Chat and it should be working.
- Keep the program running while streaming and everyone will be able to hear the chat.
- Use badwords.txt to create your own wordfilter, tip: There are many out in the internet, so maybe you want to download some!
- Use blocklist.txt to block users (or bots) from TTS
- Example: Nightbot answers to uptime? Block him or time will be read out always
- Someone is being a bitch and abusing the Bot? Block him. This can be done while the Bot is running.
- Use usernames.txt to give usernames other nicknames
- Example: Instead of takoz53, say "taco"
- This can be done while the Bot is running.
You can just install for example Microsoft voices from your Region Settings by adding other Regions Voices
Well then, what you can do is for example download and install the IVANA Voices, which supports many Voices popular Streamers use. What I really like is Justin and Ivy :P
Then you fucked up at creds.txt, by probably typing in the Voicename wrongly, check over it!
Then I'd recommend you checking if your Twitch ID is lowercase, your channel is lowercase and the oauth key is right.
- Maximum allowed characters
- Sentence, if maximum allowed characters are exceeded
- Message connector
- Example: "takoz5334 said hello" can be changed to "takoz5334 speaks hello" or into any other language etc.
- Swearword replacing word, default is "beep" when something bad is written.
- The TTS Voice
Just write their name down in the blocklist, press enter and write another name in. Simple? Yes.
Just like in blocklist, go to usernames and assign each user a name, e.g. takoz53=taco xxswordmasterxx=swordmaster. Just note down, that the names have to be written in lowercase.
Yeah, definitely. You can by typing !block username and !unblock username. It'll do the checks whether the user is blocked and input is correct, so don't worry about typing something wrong.
If something is to be added to the Readme, please create an Issue, describing what is needed! Thank you. Also, I apologize for bad code. Sorry! :D