This is a Twitch chat bot that parses incoming Twitch messages and uses that to create Mad Lib styled sentences that will display in Twitch chat. In addition to this, we have utilized the default Twitch emotes keywords. So whenever a keyword is typed, the respective emote will display in the Mad Lib sentences.
Another feature of this bot is the ability to record the number of messages in chat in certain time intervals. This can then be used to determine when the stream is popping off: to record and find highlights quicker and easier.
Finally, we have implemented a way to gather Reddit posts relevant to the stream content.
Def.py - Handles all the logic to parse Twitch messages
Run.py - the driver
Initialize.py - Connects to channel room
Settings.py - Twitch IRC Authentication
Socket.py - Python Socket Connections
templates.py - Default Mad lib sentences
How to run:
!help - lists commands
!liquidslam - generates Mad Lib
!restart - restarts bot
!ping - returns PONG
!shutdown - shutdowns bot
!msgrecord - records frequency of messages in a given interval (seconds)
!kappa - shows how many kappas you've kapped
!red - search for a relevant reddit post
REMEMBER TO: change the pass, ident, and channel values in settings.py!