Skip to content

Jev directory

Jev Moderation Bot

A self-hosted Discord bot that classifies messages with Jev in real time, deletes spam and scam links, escalates repeat offenses through warnings to timeouts, and profiles members from message history.
Stars
48
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
brainstormity
Last verified
Sep 2026

About this project

A Discord moderation bot built with Python and TypeSafe AI (Jev System One). It filters spam and scam links in real time, escalates offenses automatically, and lets moderators profile members based on their message history. Real-time link and spam moderation: Analyzes messages as they arrive. If a message is flagged as spam or a scam link, it gets deleted immediately with a reason logged to Discord's server audit log.

Quoted from the project's README. Read the full README.

Highlights

  • Flagged messages are deleted immediately with the reason logged to Discord's audit log, and pardoned messages become safe precedents for later checks.
  • Progressive discipline: warning DM, final warning DM, 10-minute timeout, then 1-hour timeouts, with the timeout durations configurable.
  • /profile scores 10 to 100 recent messages for scam risk, spamminess, noobness, toxicity, and helpfulness, then assigns a persona.
  • Messages are cached in SQLite, and when a member has no history moderators can pick a channel to fetch recent messages on the fly.
  • Failed evaluations let messages through unmoderated; three consecutive failures post a one-time outage alert to #mod-log, and recovery is announced.

Quickstart

bash
git clone https://github.com/brainstormity/Jev-Moderation-Bot.git
cd Jev-Moderation-Bot
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env   # set DISCORD_TOKEN and TYPESAFE_API_KEY
python3 main.py

Watch out

MIT-licensed. Needs Python 3.10+, a Discord bot token, a TypeSafe API key, the Message Content and Server Members privileged intents, and moderation permissions.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

YouTube: Building a contextual brand-safety scorer on Jev from scratch.

X: A website slop detector that checks 35 tells in 243 ms

X: Breaking, golden nugget, or slop

X: A filter for reply-guy comments

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai