← Selected Work

Apps & tools · Discord bot

Alteristics

A Discord moderation bot with persistent warnings, a case system, automatic spam and word filters, giveaways and live translation.

messages trigger a spam timeout
5 in 5 s
translation of non-English chat
Live

Why I built it

I built it for my Discord server, a gaming community of 100+ members. I started the server to stay connected with all my friends, even after we all got busy in real life and couldn't find each other in game, so we can still chat and have fun like the old days. Alteristics handles the moderation.

Problem

A busy server needs moderation that keeps up with the chat: warnings that persist, actions that are logged, and spam handled before a moderator sees it, all without the bot stalling while it waits on the database or a translation.

Approach

Each feature lives in its own discord.py cog. Warnings and moderation cases are stored in SQLite through aiosqlite, so database calls never block the event loop.

Anti-spam times out anyone who sends five or more messages in five seconds, a word filter deletes and warns, and warnings escalate to a kick or ban at a threshold each server sets. Non-English messages are translated inline, and any text can be translated on command.

Results

Every moderation action is posted to a log channel, and a member's full history is one command away. It taught me to structure an event-driven app so features stay independent and the bot stays responsive.