Night Protocol

MESSAGE PURGE

A dystopian control room for Discord moderation. Purge operations, automod, anti-raid defense, dashboard controls, and persistent moderation history in one stack.

Bot Status

Syncing...

Uptime: --

Servers: --

Version: --

Control Surface

Dashboard + Commands

Moderate from slash commands or the web dashboard with guild-scoped controls.

Persistence

Postgres + Redis

Moderation state, violation history, and sessions survive service restarts.

Command Arsenal

Slash Commands With Full Control

/purge user

Deletes 1 to 100 messages from a specific user.

Options: user, amount | Permission: Manage Messages

/purge channel

Deletes the latest 1 to 100 messages in a channel.

Option: amount | Permission: Manage Messages

/purge all

Bulk deletion regardless of author, directly from slash command.

Option: amount | Permission: Manage Messages

/serveranalyse

Generates a PDF with member, channel, role, emoji, and message stats.

Permission: Administrator + server owner

/automod

Manage automod state, blocked words, and purge access roles.

Subcommands: enable, disable, status, addword, removeword, addpurgerole | Permission: Manage Server

/antiraid

Inspect raid mode, enable or disable it manually, and review detection behavior.

Subcommands: status, enable, disable, info | Permission: Manage Server

Auto Enforcement

Automatic Moderation and Raid Defense

Forbidden Words

Case-insensitive filtering with instant message deletion and warning notices.

Helps keep channels clean without manual intervention.

Spam Control

Detects repeated and rapid-fire posting patterns and removes offending messages.

  • Works automatically after setup
  • Protects busy text channels
  • Sends clear warnings to users

Escalation History

Repeated violations in a 24-hour window trigger escalation tracking and automatic timeout steps.

Violation history is persisted and visible in the dashboard.

Anti-Raid Mode

Detects burst joins, enables hardened raid mode, and can apply channel slowmode automatically.

Also manageable manually from the dashboard and slash command.

Ops Layer

Dashboard, Sessions, and Durable Data

Guild Dashboard

Manage automod, purge roles, anti-raid state, and escalation history from the browser.

Discord OAuth access is scoped to guilds you can manage.

Redis Sessions

Dashboard and site-admin sessions are stored outside process memory for more reliable web auth.

Helps sessions survive app restarts and deployment cycles.

PostgreSQL Storage

Guild moderation config, violation history, and durable web analytics are stored in PostgreSQL.

Retention cleanup keeps long-term analytics manageable.

Getting Started

Use The Bot In 4 Steps

1. Invite

Click Activate Bot and add MessagePurge to your server.

2. Check Permissions

Make sure the bot has Manage Messages and can read channel history.

3. Open Dashboard

Connect with Discord OAuth and manage automod, anti-raid, purge roles, and history per guild.

4. Run Live Protection

Use /purge for cleanup and leave automod plus anti-raid enabled for ongoing enforcement.

Need Help?

Open the support page for user-focused guides and command walkthroughs.

Legal

Terms of Service & Privacy Policy