Experiment
Discord guardian: a moderation bot that answers questions
The Discord guardian is a moderation bot that times out unwanted links and answers questions in English and Bulgarian, using Google Gemini. Slash commands set what it watches, so a community runs itself without a moderator online.
Mai has built this in his own research.
In plain English
The Discord guardian is a moderation bot. It times out unwanted links and answers questions in English and Bulgarian, using Google Gemini, so a community runs itself without a moderator online.
How it works
Slash commands set the watched channel, the timeout length and exemptions for trusted users and roles. It is written in JavaScript with discord.js, uses Gemini for answers and Supabase for storage. The code is on GitHub.
Questions and answers
What does the Discord guardian bot do?
It times out people who post unwanted links and answers questions in English and Bulgarian, using Google Gemini.
How do you configure the Discord guardian?
With slash commands: you set the watched channel, the timeout length and exemptions for trusted users and roles.
Does the bot need a moderator online?
No. That is the point of it: once it is set up, the community runs itself without a moderator online.
Related entries
- PatternAgents in your channels
You put an AI agent in email, WhatsApp, Slack or Teams by connecting it to each platform's official messaging interface, so people message it where they already work. One core agent sits behind thin adapters that handle each channel's rules, such as WhatsApp's 24-hour reply window.
- PatternAgent safety
You make an AI agent safe by limiting what it can do, not by trusting what it says. Give it the narrowest tools and permissions, run risky work in a sandbox, require a person to approve consequential actions, and treat every email, document and web page it reads as possibly hostile.
- ExperimentMagent
Magent is a no-code platform for creating, customising and deploying voice and text agents for customer support, workflow automation and personal assistance. Agents answer from their own knowledge base, search the web, and listen and speak.
Sources
- discord_bot on GitHubgithub.com