04 — Community tooling
AlterBot
A Discord moderation bot and its web panel: per-server case files, sanctions, automod, anti-raid and audit log.
Context
The panel never talks to Discord directly. It writes to the database and notifies the bot through pg_notify; the bot performs the action and records the result, which the panel follows live. One source of truth: PostgreSQL.
What was built
- 01Numbered case file per server; temporary sanctions lifted automatically when they expire.
- 02Same staff levels and the same hierarchy checks on Discord and in the panel.
- 03FastAPI JSON API with sessions and CSRF protection; React interface served by the same app.
- 04Versioned SQL migrations, applied automatically on start-up.
Technology
- Python
- discord.py
- FastAPI
- PostgreSQL
- React
- Docker
A project, a technical problem, a question?
A few lines are enough to get started.
Write to Noryx