AutoMod
Moderation bot for Stoat that keeps communities safe.
AutoMod is a moderation and utility bot for the chat platform Stoat, of which I am a core team member. It is one of the most popular bots on the platform, being present in over 7500 servers with a combined total user count in excess of 200,000 people.
I am responsible for the bot’s full development lifecycle, including its development, maintenance, and hosting for the official Stoat instance. AutoMod provides essential moderation features such as message filtering, punitive user actions, and comprehensive action logging, among much more.
Spurred by the growing need for improved user resources, I created a custom documentation website from the ground up, making comprehensive support materials presented in an accessible manner available to all users. Realising the need for better communication with the user base, I extended this site to also support a blog.
The bot is developed in a monorepo, written in JavaScript/TypeScript, and makes use of a range of modern libraries and technologies, including:
- Stoat.js for interacting with Stoat’s API.
- Valkey, a fork of Redis, for high-speed caching and real-time operations.
- MongoDB for persistent data storage.
- Docker for containerisation, allowing consistent and reliable deployment and distribution.
Other Bots
Given AutoMod’s huge success and large demand, I also created other bots.
The biggest in scope is AutoFeeds, which automatically fetches and posts new items from user-specified RSS, Atom, and JSON feeds. It is also containerised with Docker and stays simple with a database using the SQL-based MariaDB.
I also created AutoDice, a dice bot perfect for people playing tabletop role-playing games, and also a bot which only allows users to send emojis. All have proved a great success and have been loved by users.
The entire AutoMod project is open-source and can be found on GitHub under the AGPL v3.