Portfolio

AutoMod

A moderation bot for Revolt that keeps communities safe.

AutoMod is a moderation and utility bot for the chat platform Revolt, of which I am a core team member. It is one of the most popular bots on the platform, being present in over 5500 servers with a combined total user count in excess of 145K people.

A user adds the word 'poo' to the filter list using '/filter add poo'. AutoMod confirms the addition with 'strictness HARD.'
AutoMod following a request to begin filtering out a word.

I am responsible for the bot’s full development lifecycle, including its development, maintenance, and hosting for the official Revolt 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:

  • Revolt.js for interacting with Revolt’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.

Given AutoMod’s huge success and large demand, I developed another bot in a similar style titled 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 simple database using the SQL-based MariaDB.

The entire AutoMod project is open-source and can be found on GitHub under the AGPL v3.