Documentation

AutoMod

Protect your Discord server against raids, spam, and malicious takeovers (nukes). Configure AutoMod filters and trap channels directly via the /automod command.

Command

Parameters

Description

Required Permission

/automod

none

Opens the control panel for all protection modules: anti-spam, mention spam (from 5 mentions), keyword filter, Nexus Shield (anti-nuke) and the honeypot channel. Everything can be enabled and configured with buttons.

Administrator


Required Bot Permissions

For Nexus to step in on its own and prevent damage during an attack, the bot's role needs the following Discord permissions:

  • Manage Server: Creates the AutoMod rules in Discord and immediately pauses all server invites for 24 hours during an attack.

  • Manage Roles: Strips all roles from attackers within seconds and restores deleted roles.

  • Manage Channels: Restores deleted channels and creates the honeypot channel.

  • Ban Members: Bans bots that trigger a nuke and lifts bans that were issued during an attack.

  • Kick Members: Removes bots that post in the honeypot channel.

  • Moderate Members (Timeout): Puts attackers, and whoever invited a nuking bot, in quarantine for 28 days. Members who post in the honeypot receive a timeout.

  • Manage Messages: Deletes messages in the honeypot channel.

  • Read & Send Messages: Monitors the honeypot channel and posts security events to the log channel.

Recommendation: Give Nexus the Administrator permission. Without it, Shield still detects and stops attacks, but it can only partially restore deleted roles and channels that use permissions Nexus doesn't have itself.