Keep detection testable
Core filtering rules operate without a Discord connection. That makes it possible to check text matching and spam windows in isolation.
Read the filtering code ↗Project 01 / Active development
A calmer community.
A closer look at the code.
A Discord moderation and community bot with a companion dashboard. This project connects event-driven Python, persistent server settings, and a web interface for the people running a community.

01 / The problem
A Discord server needs clear rules, a thoughtful welcome, and tools staff can actually use.
Espresso brings message moderation, member screening, role menus, and staff workflows together. Each server has its own settings, while the bot and dashboard use the same validated configuration.
The current implementation also includes private reports and appeals, community tickets, scheduled posts, events, and opt-in community features.
02 / How it fits together
The bot and website share a process, event loop, and settings store.
Messages, commands
and member events
Rules, permissions
and moderation actions
Server settings,
warnings and history
03 / An interactive walkthrough
Choose an illustrative scenario to follow the moderation flow.
Illustrative scenarios with assumed settings and successful Discord actions. This walkthrough does not connect to Discord or execute the bot.
04 / Engineering decisions
A few of the implementation choices that make the project worth exploring.
Core filtering rules operate without a Discord connection. That makes it possible to check text matching and spam windows in isolation.
Read the filtering code ↗Dashboard saves include a version number. An outdated edit returns a conflict instead of silently replacing a more recent change.
Explore the implementation ↗Warning records use a unique source, with persistent cooldowns for automatic warnings. Repeated events cannot endlessly add warnings.
Explore the implementation ↗A shared SQLite store and serialized writes keep the current application straightforward. The deployment model is one process, rather than multiple independent writers.
Explore the repository ↗05 / Verification & next steps
The suite exercises filtering, server isolation, persistent data, permission checks, conflicting saves, warning cooldowns, and failure handling. Discord calls are mocked.
This local run does not establish live Discord or OAuth behavior, production uptime, or the result of the separate browser regression suite.
Next milestone: document a repeatable end-to-end demonstration of one moderation workflow and its edge cases.
Setup and testing instructions ↗Keep exploring
Explore the public panel preview or get in touch about the project.
More about Harper
Programming, reverse engineering, and a growing interest in developer tools and automation.
Back to the portfolio →