Aubron/mindcrack-mod-bot — pull request #1 by gpittarelli (2013-04-19 00:36:38+00:00)
Title: Twitch.TV stream checking and updating

Hey, I spent a few hours hacking on my fork and got the bot to check twitch.tv stream status and update the subreddit announcement.

It looks like this:
![Untitled](https://f.cloud.github.com/assets/1004194/399973/82cf3e06-a887-11e2-8c74-0115d8df53eb.png)

(Don't mind the names in the picture, they were just random streams that I used as a test)

I had to restructure the code a bit to make it more extensible, so the main file to run is now mindcrack_mod_bot.py.

The code looks for the following empty links in the sidebar and places the "Now Streaming" message between them (or removes it if there are no currently running streams):

[](#BOT_STREAMS)[](/BOT_STREAMS)