All projects

04 — Community tooling

AlterBot

A Discord moderation bot and its web panel: per-server case files, sanctions, automod, anti-raid and audit log.

Year
2026
Status
In progress
Area
Community tooling

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

  1. 01Numbered case file per server; temporary sanctions lifted automatically when they expire.
  2. 02Same staff levels and the same hierarchy checks on Discord and in the panel.
  3. 03FastAPI JSON API with sessions and CSRF protection; React interface served by the same app.
  4. 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