/u/RiskyClickerBot for Reddit
A quick rundown of what the bot does is here.
A more in-depth version, with a few code snippets is also available.
git clone https://github.com/SreenivasVRao/RiskyClickerBot.git cd RiskyClickerBot pip install -r requirements.txt
You will need to edit
vars.sh to set the various environment variables. These values are retrieved by creating API keys.
For Imgur - Follow this video - between the 4:00 and 6:00 minute marks, the video explains how to get the client id and secret which is all you need.
For Clarifai - This article will help. I have set the scope to 'all' for my API key, although it can probably work with just the prediction scope.
Once you have the keys ready in
will load the variables in your current shell
Following that, you need to launch the bot:
Running the bot on Heroku is possible by using the
--heroku switch. However, Reddit usually frowns on duplicate bots. On the other hand, I'll gladly take pull requests for this bot. :)
praw (c) 2016, Bryce Boe - licensed under BSD 2-clause "Simplified" License imgurpython (c) 2014 Imgur LLC - licensed under MIT license. clarifai (c) 2016 Clarifai, Inc. - licensed under Apache License, Version 2.0 bmemcached (c) 2011 Jayson Reis - licensed under MIT license.