RepoDocsDiscord

Mochi

Mochi is a lightweight Discord invite-tracking bot with a live web dashboard, built for Bun and SQLite.

Quick start

Requirements:

git clone https://github.com/SodaSyrup/mochi-bot.git
cd mochi-bot
bun install
cp .env.example .env
bun run deploy-commands
bun dev

The dashboard is available at http://localhost:3000. Configure .env before deploying; production has stricter startup validation than development.

What Mochi provides

  • Invite attribution, net-invite tracking, campaign labels, leaves, rejoins, vanity URLs, and suspicious-account handling
  • Configurable invite logs for joins, leaves, and bot add/remove activity
  • A dashboard with live events, analytics, invite management, AutoMod controls, grouped category permissions, a honeypot, and plugin settings
  • Optional global protection using a centrally managed Cloudflare D1 registry, local caching, per-guild alert/enforcement modes, and exemptions
  • Discord OAuth, per-guild authorization, authenticated realtime rooms, and server-side sessions
  • Explicit built-in plugins for utility commands, invites, invite logs, safety, grouped category permissions, and honeypot moderation

Documentation

Read the documentation home for the full guides:

2 weeks agoLast edited 2026-08-25T10:43:40.000Z3 weeks agoCreated 2026-08-19T20:17:10.000ZSodaSyrup, Salad
Source: README.mdCommit f59afb8