# Discord Moderation Bot with AI Classification

> Listens to Discord gateway events, passing flagged messages to the OpenAI Moderation API and a custom classifier to detect spam and coordinated inauthentic behavior. Issues timeouts via the Discord REST API and logs incidents to a Supabase Postgres table for moderator review. Rule sets are stored in Supabase and hot-reloaded without restart.

- Skill: `agentskillexchange/discord-moderation-bot-with-ai-classification` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/discord-moderation-bot-with-ai-classification`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/discord-moderation-bot-with-ai-classification/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/discord-moderation-bot-with-ai-classification

---


# Discord Moderation Bot with AI Classification

Listens to Discord gateway events, passing flagged messages to the OpenAI Moderation API and a custom classifier to detect spam and coordinated inauthentic behavior. Issues timeouts via the Discord REST API and logs incidents to a Supabase Postgres table for moderator review. Rule sets are stored in Supabase and hot-reloaded without restart.

## Installation

Requirements and caveats from upstream:
- This repository contains multiple packages with separate [releases][github-releases]. You can find the assembled Discord API wrapper at [discord.js][source]. It is a powerful [Node.js](https://nodejs.org/en) module th...
- discord.js ([source][source]) - A powerful Node.js module for interacting with the Discord API

- Source: https://github.com/discordjs/discord.js
- Extracted from upstream docs: https://raw.githubusercontent.com/discordjs/discord.js/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/discord-moderation-ai-classification/)

