Advertisement
Cyber34

Twitch Speech Bot

Aug 10th, 2014
2,774
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. IF YOU WANT A VERSION THAT DOESN'T REQUIRE JAVA GO HERE -> http://pastebin.com/ipkXiuKy
  2.  
  3.  
  4. Download the bot at https://docs.google.com/uc?authuser=0&id=0B6CpatrtjcJ-TmNZU0FNTFVKNm8&export=download
  5.  
  6. Make sure to have java installed, your command line needs to be able to run the java command. (if you have java installed and it still doesn't work, you probably need to add Java to your PATH which you can find out how to do here http://www2.warwick.ac.uk/fac/sci/dcs/people/research/csrcbc/teaching/howto/javapath/ ).
  7. Also register an empty twitch account, don't even need to validate email address, just make one, this will be your bot's account.
  8.  
  9. Unzip it anywhere and open the folder, open RUN_BOT.bat in any text editor (notepad will do). On the last line of it you'll see
  10.  
  11. java -classpath .;./lib/pircbot.jar;./lib/freetts.jar SpeechBot BOT_TWITCH_USERNAME FULL_OAUTH_KEY_HERE_WITH_COLON CHANNEL_TO_JOIN
  12.  
  13. you need to replace 3 things on this line
  14.  
  15. BOT_TWITCH_USERNAME -> Your bot's username
  16. FULL_OAUTH_KEY_HERE_WITH_COLON -> your bot's full oauth key (so like oauth:asda8982c.....) which you can get from http://www.twitchapps.com/tmi (logged in as the bot)
  17. CHANNEL_TO_JOIN -> The channel to join and read out all the text of
  18.  
  19. save the file and then just double click to run it, window should pop up and connect to twitch's irc servers with the credentials you provided and once connected read out all text said
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement