A lightweight Reddit bot that provides automated responses.
A bot for Reddit communiites that provides a response based on a keyword detected in the body of the post or in a comment. Helpful for tech support communities who'd like to automate error code responses for customers, or frequently asked questions.
- PRAW - Python Reddit API Wrapper by u/bboe
- Python 3
As a frequent Redditor, I came to realize that moderators in high-traffic communities (particularly, those in the tech support realm) need an efficient way to reply with information critical to providing a good experience for community users, but without the repetititon of having to type the same responses out each time or copy/pasta.
This automation aims to solve that problem by allowing moderators to script responses based on keyword detection (such as an error code or other trigger phrase), providing a real-time response.
When a user posts content that contains a keyword or trigger phrase relevant to a given community the bot will respond with a top-level comment on that post stating the phrase and whatever text mods choose. For example, if a keyword is an error code, a moderator in a tech support community might choose to put a description of that error code and some frequently identified methods on solving the problem. Mods can also include links to external resources, and their community's wiki, if needed, to enhance the experience.
I still have a little technical debt on this bot:
- Add compatibility for the latest PRAW version
If you'd like to help, consider forking this repo and submitting a pull request.
Distributed under the MIT License. See LICENSE.txt for more information.
- djshadowxm82 - co-author