A Reddit bot which polls a Twitch.tv stream and creates/removes a sticky when they're online
- Have Python (at least 3.6) installed, along with PRAW:
pip install praw
- Register your bot with Twitch at https://dev.twitch.tv/console/apps, and take the Client ID for the config.
- Create a Reddit account for the bot, and make it a mod on the subreddit you want it to work on.
- Follow the OAuth setup steps at https://www.reddit.com/r/RequestABot/comments/cyll80/a_comprehensive_guide_to_running_your_reddit_bot/ to get your client_id and client_secret.
- Clone this repository, or download as a zip.
- Copy
config.example.ini
toconfig.conf
. - Open up
config.ini
and fill in the required fields. - Run the bot as
python reddit_twitch_sticky_bot
.