v1.4 documentation

Every module,
explained.

What each CortexGuard module does, its default settings, and our recommended configuration for most servers. Open /config in Discord to change any of it.

← Back to home
🛡️ Security
01
antiraid
Anti-Raid

Watches join speed and reacts once too many accounts join within a short window — catching coordinated raids before they spread across your server.

RECOMMENDEDDefault (8 joins / 8s, kick) works well for most servers. Tighten to 5/10s on small close-knit communities; raise to 15–20/10s on large public servers with organic growth spikes, and switch to ban if raids are frequent.
02
antialt
Anti-Alt

Rejects accounts younger than a minimum age — the classic signal of throwaway or raid accounts.

RECOMMENDED30 days is a solid default. Only drop to 7–14 days if you're actively getting hit by fresh-account raids; going higher starts blocking genuine new Discord users.
03
captcha
Captcha

Sends an image captcha on join (DM first, channel fallback) before granting server access, and kicks after a timeout if unsolved.

RECOMMENDED150s timeout by default. Pair it with Anti-Alt for the strongest join-time filter; only lower to ~90s on servers under heavy raid pressure.
04
atg
Anti Token Grabber

Turns specific channels into traps — any message posted there (from a token-grabber bot or otherwise) is instantly deleted and punished.

RECOMMENDEDPoint 1–3 unused channels named to look tempting to bots. Timeout is the safest default action; only use ban once you trust it won't catch a false positive.
05
antinuke
Anti-Nuke

Tracks bursts of destructive actions (mass channel/role deletion, mass bans, webhook spam) by a single account via the audit log, and locks the offender out before real damage spreads.

RECOMMENDED3 actions / 10s with ban is the strongest default — keep it as-is. Whitelist any trusted admins or bots that legitimately batch-manage channels or roles.
06
sharedban
Shared Ban

Links multiple servers into a shared ban list — a ban in one member server, however it happened, mirrors automatically to every other server in the group.

RECOMMENDEDOnly join a network with servers and staff you actually trust — a bad actor inside the group could ban people network-wide. Create a private group for your own server family, or join a public network in your niche if one exists.
07
securityscan
Security Scan

On-demand audit of your server's permission structure — dangerous @everyone permissions, excess Administrators, missing 2FA requirement, low verification level — with a graded protection score.

RECOMMENDEDRun it after any major permission or role change. Aim to clear every 🔴 Critical and 🟠 High finding first — those are what attackers actually exploit.
🧹 Content Filters
08
antispam
Anti-Spam

Tracks messages per user in a sliding time window and reacts once the rate crosses the threshold.

RECOMMENDED5 messages / 4s (mute) is safe for most chat servers. Fast-paced channels (bot commands, trading) may need 8–10/5s to avoid muting genuinely chatty members.
09
antilink
Anti-Link

Deletes links from members without permission, with a per-server whitelist and exempt-channel list, optionally warning before escalating to a ban.

RECOMMENDEDKeep "warn before ban" on and whitelist your own invite/partner domains. Exempt any self-promo or link-sharing channels you already run.
10
antiinvite
Anti-Invite

Removes Discord server invite links instantly, stopping advertising and scam-server links.

RECOMMENDEDDelete is the safe default. Exempt any partner or affiliate channels where invites are legitimately shared.
11
antimentionspam
Anti-Mention Spam

Stops mass-mention attacks — pinging many users or roles in a single message — a common raid and harassment tactic.

RECOMMENDEDThe default threshold of 5 mentions is reasonable. Lower to 3–4 on smaller servers; raise to 8–10 on large servers running active giveaway or event pings.
12
automod
Automod

A regex-powered bad-word filter, compiled once per config change so it adds zero runtime overhead to every message.

RECOMMENDEDStart from your community's specific slurs and scam keywords rather than a generic list. Add crypto-scam and phishing terms if you've been targeted before.
13
antishout
Anti-Shout

Flags messages that are excessively uppercase ("SHOUTING") once they pass a minimum length.

RECOMMENDEDThe 70% caps / 10-character minimum default avoids flagging short acronyms like "LOL" or "GG". Loosen to 85%+ on gaming servers where caps-heavy banter is normal.
14
antifile
Anti-File

Blocks risky file attachment types — executables, scripts, archives, web files — by extension. 21 extensions blocked by default.

RECOMMENDEDKeep the default list as-is; it already covers the common malware-delivery formats. Only add extensions if you're seeing a specific abuse pattern.
15
antiemoji
Anti-Emoji Spam

Flags messages with an excessive number of emojis (Unicode or custom) — a common low-effort spam and flood pattern.

RECOMMENDED8 emojis per message is generous enough for normal use. Drop to 5 on servers that get hit by emoji-flood spam bots.
16
antihomoglyph
Anti-Homoglyph

Catches messages that use look-alike Unicode characters (Cyrillic, Greek, full-width) to sneak past your word filter.

RECOMMENDEDPair this with Automod — it exists specifically to close the bypass gap that automod alone can't catch.
⚙️ Automation
17
autoslowmode
Auto-Slowmode

Automatically raises and lowers channel slowmode based on real-time message volume, with no manual adjustment needed.

RECOMMENDEDThe defaults (15 msgs/10s trigger, 8–120s delay range) suit most general-chat channels. Leave it on and let it self-manage.
18
warnexpiry
Warn Expiry

Automatically clears warnings older than a set number of days, so an old minor infraction doesn't follow a member forever.

RECOMMENDED90 days is a fair default. Communities running a zero-tolerance policy may prefer to disable this and keep warnings permanent.
🚨 Reports
19
msgreport
Message Report

Adds a "Report to Staff" option under right-click → Apps on any message, letting members flag content directly to your mod team with a reason.

RECOMMENDEDSet a private, staff-only report channel first — the module stays off until one is configured. Leave "who can report" open to everyone unless report spam becomes an issue.
⌨️ Commands

Every command CortexGuard understands, outside of /config. Staff-only commands require the matching Discord permission (Ban Members, Kick Members, Moderate Members, or Administrator).

/config

Opens the full configuration panel covered by this Wiki — every module, every setting, all in one place.

/mod

Moderation actions, grouped under one command:

  • /mod ban <member> [reason] [days] — bans a member, optionally deleting their last 0–7 days of messages.
  • /mod kick <member> [reason] — kicks a member from the server.
  • /mod mute <member> <duration> [reason] — times out a member for up to 7 days.
  • /mod unmute <member> — removes an active timeout.
  • /mod warn <member> <reason> — logs a warning against a member.
  • /mod warnings <member> — lists a member's warning history.
  • /mod clearwarnings <member> — wipes a member's warnings.
  • /mod unban <user ID> [reason] — unbans a user by their Discord ID.
  • /mod purge <amount> [member] — bulk-deletes up to 100 messages, optionally filtered to one member.
/history <member>

Full sanction history for a member — bot-tracked actions, manual actions from Discord's own audit log, and a shared-ban network lookup. Shown privately to the staff member who ran it.

/info [member]

Shows account and server-join information for a member — yourself if none is given.

/lockdown

Toggles lockdown on the current channel, instantly blocking @everyone from sending messages.

/save

Saves this server's configuration to your personal profile (server owner only).

/restore

Restores your saved profile onto this server (server owner only). Channel and role IDs aren't transferred — those stay server-specific.

/donate

Shows every way to support CortexGuard's development — donations and free vote links.

/report <message>

Sends a bug report or issue directly to the CortexGuard developer — not for reporting server members, see below.

Right-click a message → Apps → Report to Staff

Lets any member flag a message to your staff team with a reason. Requires the Message Report module to be configured — see the Reports category above.