Introducing - MuteBoy!

2025-06-07

🧼 MuteBoy Devlog: Building an AI-Powered Discord Mod Bot

MuteBoy is an open-source, retro-themed Discord moderation bot with a sassy personality and a Game Boy soul. This is a breakdown of everything we’ve built so far in the MVP journey — from nothing to a fully functional bot that talks back and keeps receipts.


✅ Phase 1: Project Setup

  • Initialized a TypeScript + discord.js bot project using ts-node-dev
  • Created a modular command + event handler structure
  • Defined a custom ExtendedClient type to support .commands with TypeScript
  • Added a /ping slash command to confirm the bot is alive
  • Registered the slash command via Discord’s REST API

🎨 Brand & Identity

  • Chose the name MuteBoy
  • Designed a retro, 8-bit inspired aesthetic and voice
  • Setup public GitHub repo: github.com/wayytootall/mute-boy
  • Applied the Business Source License 1.1 (BSL) to protect commercial use while staying open-source

🧼 Phase 2: Moderation Engine

  • Added a messageCreate handler that scans for banned words
  • Created a list of default "bad words" and a set of snarky response templates
  • Built personality into moderation replies to match MuteBoy’s playful brand
  • Replies trigger only when a word is flagged, keeping false positives low

🧠 Phase 3: Supabase Integration

  • Set up a Supabase project to persist moderation logs
  • Created a moderation_logs table with:
    • user_id, username, message, word_hit, channel_id, guild_id, created_at
  • Added row-level security (RLS) with a policy allowing anon inserts
  • Wired MuteBoy to insert logs into Supabase when it flags messages
  • Validated end-to-end: logs appear in Supabase within seconds of a flagged message

🔐 .env + Secrets

  • Ensured .env file is excluded from Git via .gitignore
  • Handled GitHub push protection after a Discord token was detected
  • Confirmed all environment variables are loaded properly for local dev

🧪 What's Next

  • [ ] Per-server moderation settings (filter toggle, tone picker)
  • [ ] Persona builder (customize response styles)
  • [ ] Dashboard UI (Next.js + Supabase Auth)
  • [ ] Mod digest (daily/weekly summaries in Discord or email)
  • [ ] AI moderation (OpenAI, Perspective API, or on-device models)

Stay tuned as MuteBoy continues to grow into the sassiest mod bot on the internet — with a memory, a mouth, and a mute button.
→ Built with waytootall.com