Member-only story
Deploy a “RemindMe” Reddit Bot Using AWS Lambda and EventBridge
Schedule AWS Lambda functions effortlessly with Serverless

Table of Contents
Introduction
Register a Reddit bot
Create a RemindMe bot with praw
Deploy the service to Lambda and run it on a schedule
Complete scripts
Conclusion
References
Introduction
What are Reddit bots? Am I allowed to build one? How can I do it? Are they expensive to run? These were just a few of the questions I had before going on a journey to implement my own Reddit bot.
Let’s start from the beginning. A Reddit bot is an application that can keep track of posts, comment, or reply in an autonomous fashion. You can create a bot to identify and automatically tag NSFW posts, to ban users with offensive language, fact check, or simply reply with a meme.
Reddit not only allows you to build a bot, but encourages you to do so. How you may ask? Through its official application programming interface¹ (more about this next).
How can you do it? The easiest way personally is using the Python library praw². This library simplifies how you connect to the Reddit API, how to read messages, detect mentions and how to reply.