configuration

Automod

The AutoMod module protects the server from automated attacks, malicious takeovers (nukes), and rule-breaking behavior. It is controlled centrally via an interactive menu in Discord or through the web dashboard.

Configuration & Setup

Prerequisite: Discord Role Hierarchy

Because AutoMod can independently remove roles, modify channels, or ban members, Discord's role hierarchy applies:

  • Go to Server Settings → Roles.

  • Drag the bot's role as high as possible in the list (above regular members, moderators, and administrators if Anti-Nuke should also protect against compromised staff accounts).

  • Important: A Discord bot can technically never take action against users whose highest role is above or equal to its own.
    (Note: The server owner can never be moderated by bots under any circumstances.)


Protection Modules in the /automod Menu

Running the /automod slash command opens an interactive overview featuring the following protection modules:

🍯 1. Honeypot Channel (Trap Channel for Raid & Phishing Bots)

What it does: Automatically creates a trap channel visible to all members. The moment an account sends a message there, the system intervenes instantly and purges the message.

Common Use Cases:

  • Spam & Phishing Bots: Automated userbots blindly post into every visible channel. Inside the honeypot, they get timed out or banned immediately before reaching regular members.

  • Trolls & Rule Breakers: Curious users who ignore explicit warning signs automatically land in timeout.

Setting up a Honeypot Channel in Discord:

  1. Click the Honeypot button inside the /automod menu.

  2. Fill out the two modal fields:

    • Channel Name: e.g., do-not-type or trap-channel

    • Message: The pinned warning banner (e.g., "Sending messages here results in an immediate timeout!").

  3. Submit — the bot creates the channel, configures channel permissions, and pins the warning message automatically.


💣 2. Discord Anti-Nuke (Server Destruction Prevention)

What it does: Protects your Discord server from compromised staff accounts or rogue moderators attempting to mass-delete channels, roles, or members.

How it works: Monitors high-velocity administrative actions (mass bans, mass kicks, role/channel creation and deletion). Once a defined threshold is exceeded, the emergency protocol triggers immediately:

  • Instantly strips all roles and admin permissions from the offending account.

  • Bans the rogue account upon critical infractions.

  • Temporarily pauses all server invites to block incoming raids.

  • Automatically initiates the restore routine to recover deleted channels and roles.

Setup: Click Anti-Nuke.


⚙️ 3. Manage Native Discord AutoMod Rules

Allows direct configuration of Discord's built-in AutoMod filters through the bot interface:

  • Mass Mentions: Blocks messages exceeding a defined limit of user or role mentions.

  • Block Spam: Filters repetitive copy-paste text and common spam patterns using Discord's internal heuristics.

  • Block Words / Toxicity: Leverages default rule lists (profanity, NSFW) or custom keyword/regex filters to block messages server-side before they hit the chat.