Mochi documentation
Mochi is a Discord bot for invite tracking, server safety, and real-time dashboard administration.
Start here
- Follow Getting started to install Mochi and configure Discord.
- Read Deployment and operations before running a persistent instance.
- Use the feature guides for invite tracking, moderation, global protection, and permission groups.
Guides
| Guide | Covers |
|---|---|
| Getting started | Prerequisites, installation, environment variables, and application modes |
| Deployment and operations | PM2, tests, migrations, projections, and database maintenance |
| Invite tracking | Invite semantics, attribution, invite logs, and required permissions |
| Levels and rewards | Message XP, activity ranks, role rewards, and staff XP changes |
| Embed editor | Saved Discord embeds, live preview, publishing, and message updates |
| Staff applications | Application forms, private reviews, and acceptance roles |
| Reports and appeals | Private submissions, staff decisions, and member replies |
| Moderation cases | Warnings, timeouts, kicks, bans, evidence, and staff history |
| Support tickets | Private channels, support panels, staff claims, closing, and transcripts |
| Server logs | Discord channel logging for message, member, role, channel, voice, and staff events |
| Moderation features | AutoMod controls and honeypot moderation |
| Global protection | Centrally managed ban registry, synchronization, enforcement modes, and operations |
| Permission groups | Shared role permissions across multiple project categories |
| Feature controls | Invite rewards, reaction roles, warning penalties, and ticket escalation |
| Dashboard | Dashboard pages, access rules, and live event behavior |
| Plugins | Plugin catalog, lifecycle, dependencies, and configuration |
| Slash commands | Command reference and Discord command permissions |
| Architecture and contracts | Security, database responsibilities, and Socket.IO payloads |
Configuration reference
.env.example lists all environment variables and their default values. The Getting started guide explains the settings for local and production deployments.