ama_compiler
ama_compiler copied to clipboard
:speech_balloon: Reddit AMA Bot
Reddit AMA Bot
This script is powering u/ama_compiler_bot.
What does this bot do?
This bot makes it easier for redditors to read through the question and answers from /r/AMA.
When will the bot post to a thread?
- Comment score must be > 0
- Comment must end with a "?"
- Submission is older than 24 hours
- Submission is younger than 7 days
- Submission score must be greater than 10
- Submission is not a
[REQUEST]
- Have not posted on the thread before (stored in a sqlite database)
- Comment total length is not longer than 9500 characters
Setting up your own ama bot
- Clone this repo
- Get reddit API keys.
- Set the following environment variables:
REDDIT_CLIENT_ID REDDIT_SECRET REDDIT_PASSWORD REDDIT_USER_AGENT REDDIT_USERNAME
- Set up sqlite database (used Python 2.7.x)
python db.py
- Run the script (used Python 2.7.x)
python app.py