Commands & support

Everything lives under one slash command: /aegis. Eight subcommands cover setup, containment, recovery, and tuning — detection itself runs automatically and never needs a command.

All commands require the  Moderate Members  permission and work in servers only. Replies are visible just to you.

Getting set up

Two commands and you're protected. Run them again anytime — setup is safe to repeat and re-covers channels created since.

required optionoptional option
/aegis setupmodlog: #channelhome: #channel

One-command onboarding. Creates the Quarantined role, applies deny overwrites across every channel, provisions Discord's native AutoMod rules as a fallback layer, and wires alerts to your mod-log channel.

home = a channel quarantined members can still see (read-only) so they can reach your mods. Defaults to the server's system channel.

/aegis test

Posts a sample alert to the mod-log. Confirms the bot's permissions end-to-end and shows you exactly what real alerts will look like — no waiting for an actual incident.

/aegis status

The dashboard: raid-mode state, phishing-blocklist size, mod-log and quarantine-role wiring, and your current pressure and raid thresholds at a glance.

Containment & recovery

Aegis quarantines compromised accounts automatically — these commands are for when you spot something first, and for bringing members home after.

/aegis quarantineuser: @memberreason: text

Manually contain a member you suspect is compromised. Their roles are snapshotted and stripped, the quarantine role is applied, and a mod-log entry is posted with a one-click Release button.

/aegis releaseuser: @member

Release a member once their account is secured. Their roles are restored from the quarantine snapshot automatically, and the mod-log records who released them.

Snapshots are kept for 7 days — after that, re-assign roles manually.

Raids & the blocklist

Raid mode flips on by itself when joins spike; the live blocklist tracks 44,000+ phishing domains. These commands give you the manual override.

/aegis endraid

Manually end raid mode. Join-gate timeouts stop and detectors return to normal sensitivity. (Raid mode also ends on its own once the join wave passes.)

/aegis domainaction: block | allowdomain: name

block adds a domain to your server's local blocklist — messages containing it become a hard signal. allow whitelists a domain, overriding every blocklist entry (useful for false positives).

Allow-listing weakens protection, so it's announced in the mod-log for all mods to see.

Tuning

The defaults work for most servers. If yours runs hotter or quieter than average, adjust one threshold at a time and watch the mod-log.

/aegis configkey: settingvalue: number

Change a numeric threshold for this server. Every server keeps its own config.

KeyControlsWhen it triggers
deleteThresholdPressure score that deletes the offending messageFirst rung of enforcement
quarantineThresholdPressure score that quarantines the memberSuspected compromised account
banThresholdPressure score that bans the accountThrowaway attacker accounts
raidJoinThresholdJoins inside the window that flip raid modeJoin spike detected
joinWindowSecondsSize of the join-counting windowPairs with raidJoinThreshold
youngAccountDaysAccount age treated as "young" at the doorRaid-mode join gating

Stuck, or found a bug?

The support server is the fastest way to reach us — for setup help, false positives, or feature ideas. Bugs and requests are also welcome on GitHub.

Join the support server Open a GitHub issue