This Reddit Comment Bot is a python-based auto-responder.
- Pick a subreddit to scan
- Designate a specific comment to search for
- Set your bot's reply
- Navigate to the Apps page
- Click create an app
- name: Set a name for your app
- type: Script
- description: Optional
- about url: Optional
- redirect uri: http://localhost:8080
- Note the outputted client id and secret
- username: your Reddit username
- password: your Reddit password
- client_id: the outputted client id
- client_secret: the outputted secret
Set the subreddit to search (default = "r/test"):
r.subreddit('test')
Comment search criteria (default = "sample user content"):
if "sample user comment"
Bot's comment reply (default = "Hey, I like your comment!"):
comment.reply("Hey, I like your comment!")
Navigate into the bot directory. Run your bot:
$ python reddit_bot.py