Operations & Monitoring¶
This guide describes day‑to‑day operations, health checks, and troubleshooting.
Health & Status¶
- On startup, console should log successful Discord and MongoDB connections.
- Use
/info(BotOwners) to check bot uptime, ping, and reach.
Routine Checks¶
- Verify the bot has required permissions in target channels.
- Review
/settingsperiodically to ensure policies match server rules. - Confirm
PunishLogChannelIDis set and accessible.
Troubleshooting¶
- Bot not responding:
- Check token validity and intents in the Developer Portal.
- Ensure
GatewayIntentBits.MessageContentis enabled where required. - Confirm MongoDB connectivity.
- Commands missing:
- Wait for global command registration to propagate (can take minutes).
- Restart once after deployment; ensure no REST errors are printed.
- Cannot mute users:
- Confirm the bot role is above target roles and has Moderate Members.
- Verify guild allows timeouts.
- Logs not appearing:
- Ensure
PunishLogChannelIDpoints to a text channel the bot can write to.
Policy Tuning¶
- Start with: Invite, Link, and Spam protections enabled.
- Add community‑specific
FiltredWordsbased on moderation learnings. - Set mute duration proportional to violation severity and community tolerance.
Backup & Recovery¶
- Backup MongoDB regularly; retain per your governance policy.
- If the process restarts, temporary BlueList/BlackList caches may reset; policy toggles persist in DB.
Back to Docs Index · See also: Commands · See also: Security