Documentation
Home
Cogit Security
Updated Jun 4, 2026

Documentation

Everything you can configure in the server dashboard, with practical examples for every feature. All settings are per-server and take effect immediately after saving.

Administrators, the server owner, and users with configured Admin Roles are exempt from all auto-moderation modules automatically.

Anti-Spam

Deletes messages from users who send too many in a short period, and times them out if they keep doing it.

Settings

OptionWhat it does
EnableTurns Anti-Spam on or off for your server.
Message LimitHow many messages a user can send within a 10-second window before their messages start getting deleted. Default: 7.
Mute AfterHow many separate violations before the user is timed out for 10 minutes. Default: 2.
Whitelisted ChannelsChannels (or categories) where spam detection is skipped entirely.

Example

Scenario — Raid bot flooding #general

Config: Limit 7, Mute After 2. A raid bot joins and sends 10 messages in 3 seconds. The 8th message is deleted, the bot's counter hits 1. It sends 7 more — the bot exceeds the limit again, counter hits 2 which equals Mute After, so it receives a 10-minute timeout.

The bot is silenced automatically without any moderator needing to intervene.

Recommended Setup

Limit 6, Mute After 2 — tight enough to catch raid bots but permissive enough for normal fast conversation. Add bot channels to Whitelisted Channels if you have game bots that respond quickly.

Anti-Discord

Deletes Discord server invite links to stop members from advertising other servers.

Settings

OptionWhat it does
EnableTurns invite-link filtering on or off.
Mute AfterViolations before a 10-minute timeout. Default: 2.
Whitelisted ChannelsChannels where invite links are permitted (e.g. a #partnerships channel).
Whitelisted RolesRoles whose members can post invites freely.

Example

Scenario — Competitor advertising

A user posts discord.gg/rival-server in #general. The invite link is deleted instantly. If they do it again, they receive a timeout. Your partnerships team can freely share invites in #partnerships since it's whitelisted.

Recommended Setup

Enable: Yes on all public servers. Invite advertising is one of the most common minor rule violations.
Mute After: 2 — standard. Users who post invites twice in quick succession are clearly not doing it by accident.
Whitelisted Channels: Add a #partnerships or #self-promo channel if your community allows server sharing in a designated area.
Whitelisted Roles: Add a @Partner or @Verified Partner role so approved partner servers can share their invite without being flagged.

Anti-Mention

Deletes messages that mention more users than the configured limit in a single message.

Settings

OptionWhat it does
EnableTurns mass-mention detection on or off.
Mention LimitMaximum user mentions per message before deletion. Default: 5.
Mute AfterViolations before a 10-minute timeout. Default: 2.
Whitelisted ChannelsChannels exempt from the mention check.
Whitelisted RolesRoles exempt from this check.

Example

Scenario — Harassment campaign

Config: Mention Limit 5. A user sends "@user1 @user2 @user3 @user4 @user5 @user6 you're all losers". That's 6 mentions, which exceeds the limit — message deleted, violation recorded. They try twice more — timed out after the second.

Recommended Setup

Set Mention Limit to 4–5. Whitelist your #announcements channel if staff legitimately mention many users in posts.

Anti-Caps

Deletes messages where too high a percentage of characters are uppercase.

Settings

OptionWhat it does
EnableTurns caps filtering on or off.
Caps ThresholdUppercase percentage that triggers deletion (0–100). Default: 70 — a message 70%+ uppercase is removed.
Mute AfterViolations before a 10-minute timeout. Default: 2.
Whitelisted ChannelsChannels where caps are freely allowed.
Whitelisted RolesRoles exempt from this check.

Example

Scenario — Disruptive shouting

Config: Threshold 70%. A user sends "STOP IGNORING ME THIS IS RIDICULOUS" — 100% caps, deleted. They send "Hello everyone HOW ARE YOU doing" — roughly 40% caps, allowed through. They send "HELLO how ARE YOU" — about 65% caps, allowed (under threshold).

Recommended Setup

Threshold: 70% (default) works well for most servers. Lower to 60% if you have frequent shouting issues; raise to 80% for casual gaming servers where caps are more common in excitement.
Mute After: 2 — gives users one clear deletion warning before a timeout is applied.
Whitelisted Channels: Whitelist #games, #memes, or #hype channels where ALL-CAPS messages are culturally normal (celebrating a win, hype posts, etc.).
Tip: Enable Auto-Warn for Anti-Caps only if you run a strict community — on casual servers, accidental caps violations will quickly inflate warning counts.

Auto-Warn

Automatically issues a warning each time a security module deletes a message. Warnings feed into the Warn System and can trigger automatic kicks or bans.

Settings

Toggle Auto-Warn independently for each module:

ModuleWarns when
Anti-SpamA spam message is deleted.
Anti-LinksA blocked link is deleted.
Anti-DiscordA blocked invite is deleted.
Anti-MentionA mass-mention message is deleted.
Anti-CapsAn all-caps message is deleted.
Anti-SelfbotSelfbot behavior is detected.
Word BlacklistA blacklisted word is used.
Ghost PingA ghost ping is detected.

Example

Scenario — Combined Anti-Spam + Auto-Warn leading to ban

Warn System config: Auto-Ban at 5 warnings. Auto-Warn enabled for Anti-Spam.

Day 1: User spams 3 times → 3 Auto-Warn warnings issued → counter: 3. They post a blacklisted word (Auto-Warn on) → counter: 4. They spam again → counter: 5. Auto-ban fires — the user is permanently banned without any moderator action.

Recommended Setup

Always enable for: Anti-Spam, Anti-Links, Anti-Discord, Word Blacklist — these are the most deliberate violations and warnings are appropriate.
Consider enabling for: Anti-Mention, Anti-Selfbot — targeted harassment and ToS violations deserve a warning trail.
Use caution with: Anti-Caps and Ghost Ping — casual servers may see too many accidental warnings from these. Only enable if you run a strict community.
Pair with the Warn System: Set Auto-Kick at 5 and Auto-Ban at 8. This creates a full escalation chain: violation → warning → accumulate → kick → ban, entirely automatic.

Ghost Ping Detector

Posts an alert when someone mentions a user and immediately deletes the message, exposing the "ghost ping".

Settings

OptionWhat it does
EnableTurns ghost ping detection on or off.
Whitelisted ChannelsChannels where ghost pings are not reported.
Whitelisted RolesRoles whose members can ghost-ping without triggering an alert.

Example

Scenario — Troll harassing members

User A pings @User B to annoy them, then immediately deletes the message. User B gets a notification but sees nothing. The bot detects the deleted mention and posts: "⚠️ Ghost ping by User A — mentioned: @User B" in the channel. Moderators can now see it and act. With Auto-Warn enabled, User A also receives a warning.

Recommended Setup

Enable: Yes on any server that has issues with trolling or harassment — ghost pinging has no legitimate use.
Whitelisted Channels: Whitelist #bot-commands or #testing if bots in those channels trigger ghost-ping patterns inadvertently.
Auto-Warn: Enable — persistent ghost pingers accumulate warnings naturally toward your Warn System thresholds.
Note: The alert is posted in the same channel the ghost ping happened in, making the behaviour publicly visible. This deters repeat attempts without requiring mod intervention.

Verification

Requires new members to click a button before gaining access to the server. Stops basic bots and raid accounts that cannot interact with buttons.

Settings

OptionWhat it does
Verified RoleThe role given to a member after they click the verify button. Gate your channels behind this role.
Send Verification ButtonPosts the verification embed into your configured channel. Members click it to receive the role.

Example

Recommended Setup — Role-gated server

Create a Verified role. Set all your server channels to be visible only to members with that role. New members land in a #verify channel (visible to everyone), click the button, receive the Verified role, and immediately see the rest of the server. Bots and raid accounts that cannot click buttons never get access.

Word Blacklist

Deletes any message containing words or phrases from your custom block list. Matching is case-insensitive.

Settings

OptionWhat it does
EnableTurns word filtering on or off.
Blocked WordsYour list of words or phrases. Matching is case-insensitive and works anywhere in the message.
Whitelisted ChannelsChannels exempt from word filtering.
Whitelisted RolesRoles exempt from word filtering.

Example

Scenario — Slur and scam link filtering

You add free nitro, discord gift, and a list of slurs to the blacklist. A scam bot joins and posts "claim your FREE NITRO here: scam.com" — the phrase free nitro matches (case-insensitive) and the message is deleted instantly, before any member sees it.

Recommended Setup

Start with these phrases: free nitro, discord gift, steam gift card, bit.ly (shortener used in scams), your server's known competitor names if advertising is an issue.
Add community-specific terms: Slurs, harassment language, and any words your moderation team repeatedly has to delete manually.
Whitelisted Channels: If mods need to discuss blacklisted terms (e.g. reviewing reports), whitelist your #mod-discussion channel so staff can paste evidence without it being auto-deleted.
Whitelisted Roles: Add your @Moderator role so mods can quote rule-breaking messages in their reports without triggering the filter.
Auto-Warn: Enable — deliberate use of blacklisted words is worth recording as a warning for repeat pattern detection.

Anti-New-Account

Automatically kicks or bans accounts that are younger than a minimum age when they try to join your server.

Settings

OptionWhat it does
EnableTurns new-account filtering on or off.
Minimum Age (days)Accounts younger than this are actioned on join. Default: 7 days.
ActionKick — removed but can rejoin once their account is old enough. Ban — permanently blocked.
Send DMWhether to message the user explaining why they were removed.

Example

Scenario — Raid with fresh accounts

Config: Minimum Age 7 days, Action: Kick, Send DM: on. During a raid, 15 accounts all created in the last 2 hours try to join. Each one is kicked on arrival before they can type a single message. Each receives a DM: "Your account is too new to join this server. Please wait 7 days after account creation and try again."

Recommended Setup

Use 7 days + Kick for most servers. Switch to 30 days + Kick for gaming/community servers that are frequently targeted. Avoid Ban unless you are certain you don't want those users back ever.

Anti-Selfbot

Detects user accounts sending rich embeds — a behaviour only possible through selfbot tools that violate Discord's Terms of Service.

Settings

OptionWhat it does
EnableTurns selfbot detection on or off.
Whitelisted ChannelsChannels exempt from selfbot detection.
Whitelisted RolesRoles exempt (e.g. users with a legitimate integration that sends embeds).

Example

Scenario — Selfbot detected

A user running a selfbot script sends a message with a custom rich embed (title, description, colour fields) from their personal account. Since regular Discord clients cannot send embeds from user accounts, Anti-Selfbot flags this immediately — the message is deleted and (if Auto-Warn is on) a warning is issued.

Recommended Setup

Enable: Yes on any public server. Selfbots are a ToS violation and are commonly used for harassment, mass-DM spam, and account farming.
Whitelisted Channels: None typically needed. Rich embeds from user accounts are always suspicious.
Whitelisted Roles: If you have a developer role for users testing legitimate Discord integrations (e.g. webhook tools that mimic embed-like messages), add that role to avoid false positives.
Auto-Warn: Enable — selfbot use is a deliberate violation. A single warning on detection often causes the user to stop immediately. If they continue, the warn ladder handles escalation automatically.

Warn System

Tracks warnings per member and triggers automatic actions when a threshold is reached. Works with both the /warn command and Auto-Warn.

Settings

OptionWhat it does
Auto-Kick atAutomatically kicks the user when their warning count reaches this number. Leave blank to disable.
Auto-Ban atAutomatically bans the user when their warning count reaches this number. Leave blank to disable.
Role ThresholdsAssign a specific role when a user hits a warning count. Add multiple thresholds (e.g. "Muted" role at 3, "Restricted" at 5).

Example

Recommended Warn Ladder

Warning 3 → Assign "Warned" role (visible to mods, signals repeat offender)
Warning 5 → Auto-kick (removed, can rejoin with a clean slate)
Warning 8 → Auto-ban (persistent rule-breakers removed permanently)

With Auto-Warn enabled on Anti-Spam and Anti-Links, members who repeatedly break rules accumulate warnings automatically and hit these thresholds without requiring manual mod intervention.

Security Sweep

A real-time privilege monitoring system. Every time a member's Administrator permission changes — or a Critical Role you define is added or removed — an alert is posted to your log channel.

Security Sweep is not an on-demand scan. It is a continuous background monitor that fires automatically whenever a qualifying role change occurs. There is no "run now" button — it works passively, 24/7.

What it monitors

EventWhat triggers an alert
Admin GrantedAny member receives a role that gives them the Administrator permission. Alert title: "Security Alert: Admin Permission Granted". Shows who granted it (via audit log) and which role was added.
Admin RevokedAny member loses a role that held the Administrator permission. Alert title: "Security Alert: Admin Permission Revoked". Shows who revoked it.
New member given AdminA member who joined within the last 24 hours is granted Administrator. An additional "⚠️ This user received ADMINISTRATOR within 24 hours of joining!" warning is appended to the Admin Granted alert.
Critical Role changeAny role you have marked as a Critical Role is added to or removed from any member. Alert title: "Security Alert: Critical Role Change Detected". Shows who made the change, which roles were added/removed.

Setup Options

Run setup-securitysweep in any channel. A dropdown menu will appear with the following options:

OptionWhat it does
Enable SecuritySweep ChannelMention a channel where all alerts will be posted. Required — no alerts are sent until this is set.
Disable SecuritySweep ChannelStops all Security Sweep alerts. The configuration (mention roles, critical roles) is preserved.
Manage Mention RolesAdd or remove roles that are pinged alongside every alert. Mention a role to add it; mention it again to remove it. Supports multiple roles.
Track Critical RolesDefine which roles count as "critical." Any add/remove of these roles on any member fires a Critical Role Change alert. Mention a role to add it to tracking; mention it again to stop tracking.

Examples

Scenario 1 — Compromised mod grants someone Admin

A compromised moderator account adds the @Owner role to an attacker. That role has Administrator permission. Security Sweep fires immediately: "Security Alert: Admin Permission Granted — [Attacker] was granted ADMINISTRATOR. Granted by: [Compromised Mod]". Your security team is pinged. You can revoke the role and investigate before any damage is done.

Scenario 2 — New account given Admin within 24 hours

A new member joins, and minutes later someone adds the @Admin role to them. Security Sweep fires the Admin Granted alert with an extra warning field: "⚠️ This user received ADMINISTRATOR within 24 hours of joining!" This catches social-engineering attacks where an attacker joins, builds quick trust, and gets elevated fast.

Scenario 3 — Critical Role tracking for your Head Mod role

You track @Head Moderator as a Critical Role. Any time someone is added to or removed from that role — even by a legitimate admin — an alert fires: "Security Alert: Critical Role Change Detected — [User] | Roles Added: @Head Moderator | Changed By: [Admin]". This creates a full audit trail for your highest-trust staff positions.

Recommended Setup

Log channel: Create a private #security-alerts channel visible only to server owners and senior staff. Set this as the Security Sweep channel.

Mention Roles: Add your @Owner and @Head Admin roles so the right people are pinged immediately on any alert.

Critical Roles to track: Add every role that has Administrator, Manage Server, Manage Roles, or Ban Members permissions — @Admin, @Head Moderator, @Co-Owner, etc. Any change to these roles on any member will generate a logged, pinged alert.

Works best alongside: Anti-Nuke (blocks mass privilege abuse) + Logging (records all moderation actions). Security Sweep fills the gap by catching single, targeted privilege escalations that Anti-Nuke thresholds might not fire on.

Cross-Server Blacklist

Opt-in network that shares ban data across Cogit servers. When a user is reported by enough independent servers, your server automatically acts on them.

Settings

OptionWhat it does
EnableOpts your server into the shared blacklist. Your bans contribute to the pool and you benefit from others'.
ThresholdHow many independent servers must report a user before your server acts. Default: 2.
Auto ActionFlag — alert only. Kick — remove on join. Ban — permanently ban on join.
Alert ChannelWhere flag alerts are posted when a reported user joins.

Example

Scenario — Known bad actor blocked automatically

Config: Threshold 3, Auto Action: Ban. A user scammed members in three separate servers — all three servers banned and reported them to the network. When they try to join your server, the bot sees they have 3 reports (meeting your threshold) and bans them before they send a single message, even though they've never been in your server before.

Recommended Setup

Start with Flag + Threshold 3. Review flagged users manually for a week to get comfortable before switching to automatic Kick or Ban. Raise threshold to 5 if you see false positives.

Anti-Nuke Premium

Real-time protection against mass destructive actions — channel deletions, role abuse, ban waves, and bot raids. Requires an active Premium subscription.

Anti-Nuke is a Premium-only feature. All 12 modules, the whitelist system, and the Violation Monitor are included at every Premium tier.

Global Settings

OptionWhat it does
Enable Anti-NukeMaster switch. All modules are inactive unless this is on.
Alert ChannelWhere all detections, punishments, and audit logs are posted.
Quarantine RoleAssigned to violators instead of (or in addition to) a kick/ban. Good for holding someone for manual review.
Log Whitelisted ActionsWhen on, whitelisted users' actions still appear in the alert channel — no punishment applied, but audit trail is preserved.
Global Whitelisted RolesAny user with these roles is exempt from all modules simultaneously.
Global Whitelisted UsersSpecific user IDs that bypass all modules. The server owner is always exempt.

Example — Whitelisting Your Staff Correctly

Scenario — Head Moderator moves channels

Your Head Mod reorganizes the server by deleting 4 old channels and creating 5 new ones. Without a whitelist, Anti-Delete Channel and Anti-Create Channel would both trigger and punish them. With their Head Mod role in Global Whitelisted Roles, all of their actions pass through freely. If Log Whitelisted Actions is on, each deletion and creation still posts to your alert channel as a whitelisted event — so you have a full audit trail without false punishments.

Recommended Starting Config

Add your Admin and Head Mod roles to Global Whitelisted Roles. Add any trusted bots' user IDs to Global Whitelisted Users. Enable Log Whitelisted Actions so you can verify their behaviour is expected. Enable the master switch only after your whitelist is configured.

Anti-Nuke — Modules

12 independent protection modules. Each has its own enable toggle, punishment thresholds, and per-module whitelist. Click any module below to see what triggers it, what doesn't, and recommended thresholds.

Anti-Bot Add

Fires when an unauthorised bot is added to the server.

Triggers when
  • Any non-whitelisted user adds a bot via OAuth
  • A bot is added and the adder is not in the module or global whitelist
Does NOT trigger when
  • Server owner adds the bot
  • A whitelisted admin adds a bot
  • Bot was already in server (re-invite after kick)
Recommended Thresholds
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0 — fires on first offence
Kick/Day: 2, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 3, /Week: 0, /Month: 0, All-time: 0
Example

A compromised moderator account adds a raid bot. Anti-Bot Add fires: the bot is auto-kicked (toggle enabled), the moderator's roles are stripped (Phase 1 — Remove Roles). If they add another bot, they get kicked from the server (Phase 2). A third attempt results in a permanent ban (Phase 3).

Anti-Kick / Ban

Limits how many members can be removed (kicked or banned) within a time period.

Triggers when
  • A non-whitelisted user kicks or bans multiple members rapidly
  • Violation count exceeds /Day threshold within 24 hours
Does NOT trigger when
  • Single kick or ban (below threshold)
  • Action performed by whitelisted role
  • Server owner banning users
Recommended Thresholds
Remove Roles/Day: 2, /Week: 8, /Month: 20, All-time: 0
Kick/Day: 5, /Week: 15, /Month: 40, All-time: 0
Ban/Day: 8, /Week: 25, /Month: 60, All-time: 0
Example

A compromised mod account begins mass-kicking members. At 2 kicks in 24 hours, their roles are removed (Remove Roles fires). At 5, they are kicked from the server. If they somehow rejoin and continue, at 8 kick violations in the day they are permanently banned.

Anti-Create Role

Limits mass role creation. Option to auto-delete the created role when a threshold is hit.

Triggers when
  • Multiple roles created quickly by the same non-whitelisted user
  • Often seen in attacks where attacker creates an "Administrator" role to escalate permissions
Does NOT trigger when
  • Single role created (below threshold)
  • Owner or whitelisted admin creates roles during server setup
Recommended Thresholds
Remove Roles/Day: 2, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 4, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 6, /Week: 0, /Month: 0, All-time: 0
Auto-delete toggleEnable — removes the created role immediately on detection
Example

An attacker creates Admin 1, Admin 2 roles to give themselves elevated permissions. On the 2nd role creation: roles auto-deleted (toggle on), attacker's own roles stripped (Phase 1). On the 4th: attacker kicked. On the 6th: permanently banned.

Anti-Delete Role

Limits mass role deletion. Option to auto-restore the deleted role.

Triggers when
  • Non-whitelisted user rapidly deletes multiple roles
  • Destructive nuking attempting to strip all member permissions
Does NOT trigger when
  • Deleting a single unused role
  • Owner or whitelisted admin cleans up roles during restructuring
Recommended Thresholds
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0 — first deletion triggers
Kick/Day: 3, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 5, /Week: 0, /Month: 0, All-time: 0
Auto-restore toggleEnable — recreates the deleted role immediately
Example

A nuker deletes the Members role (which all verified users hold). With auto-restore on: the role is recreated instantly. The nuker's roles are stripped (Phase 1 — 1st deletion). They delete another role — it's restored, and they're kicked (Phase 2 — 3rd deletion). Auto-restore means members never actually lost their role, even during the attack.

Anti-Create Channel

Limits mass channel creation. Option to auto-delete the created channel.

Triggers when
  • Multiple channels created rapidly by one non-whitelisted user
  • Classic raid pattern: flooding the server with "HACKED" or NSFW channels
Does NOT trigger when
  • Creating 1–2 channels during normal setup
  • Owner or whitelisted admin creates channels
Recommended Thresholds
Remove Roles/Day: 2, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 5, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 8, /Week: 0, /Month: 0, All-time: 0
Auto-delete toggleEnable — removes the created channel immediately
Example

A raider creates #HACKED-1, #HACKED-2 — each auto-deleted instantly. At 2 creations their roles are stripped (Phase 1). At 5 they are kicked. Members see channels appear and disappear within milliseconds — the raid is neutralised in real time.

Anti-Delete Channel

Limits mass channel deletion. One of the most critical modules — enable this on every server.

Triggers when
  • Non-whitelisted user deletes channels rapidly
  • Compromised admin account executing a nuke
  • Malicious bot given Manage Channels permission
Does NOT trigger when
  • Deleting a single unused channel
  • Owner or whitelisted admin cleans up channels
Recommended Thresholds — Strict (Recommended)
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0 — fires on first deletion
Kick/Day: 2, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 3, /Week: 0, /Month: 0, All-time: 0
Example — Full nuke attempt blocked

An attacker deletes #announcements: 1st deletion → Remove Roles fires, attacker's roles stripped, they can no longer delete channels since they've lost Manage Channels. If they somehow continue (e.g. had multiple high roles), 2nd deletion → Kicked. 3rd deletion → Permanently banned. The strict 1/2/3 config means the attack is stopped after the very first action.

Anti-Mass Join

Raid detection — fires when 8+ accounts join within 10 seconds and removes non-whitelisted recent joiners.

Triggers when
  • 8 or more users join within a 10-second window
  • Bot raid where many accounts join simultaneously
Does NOT trigger when
  • Normal organic join traffic (7 or fewer in 10 seconds)
  • Whitelisted users joining (they are not kicked during raid response)
Note
Fixed threshold8 joins / 10 seconds — not configurable per module (use Anti-New-Account for age-based filtering)
ActionKicks all non-whitelisted users who joined in that window
Example — Bot raid neutralised

A Discord bot farm sends 20 accounts to join your server within 3 seconds. When the 8th account joins, Anti-Mass Join fires. All 20 recent joiners who are not whitelisted are kicked simultaneously. Your server never experiences the raid effect — members see a brief wave of join notifications then immediate kicks, and no raid messages are sent.

Anti-Webhook Create

Detects unauthorised webhook creation. Option to auto-delete the webhook and punish the creator.

Triggers when
  • A non-whitelisted user creates a webhook in any channel
  • Webhooks created to impersonate bots or staff and mass-post content
Does NOT trigger when
  • Whitelisted bots create webhooks for legitimate integrations
  • Server owner creates a webhook
Recommended Thresholds
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 2, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 3, /Week: 0, /Month: 0, All-time: 0
Auto-delete toggleEnable — removes the webhook before it can be used
Example

A compromised mod creates a webhook named @Server Announcement to impersonate official announcements and send scam links. Anti-Webhook Create fires: the webhook is auto-deleted before it can post anything, and the mod's roles are stripped. Whitelisted your YouTube notification bot? Its webhook creations pass through freely since it's whitelisted by user ID.

Anti-Mass Delete

Fires when 20+ messages are deleted within 30 seconds (bulk purge detection).

Triggers when
  • A bot or user bulk-deletes 20+ messages in 30 seconds
  • Malicious purge of conversation history to destroy evidence or disrupt channels
Does NOT trigger when
  • Fewer than 20 messages deleted in the window
  • Whitelisted bot running a legitimate purge command
Recommended Thresholds
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 2, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 4, /Week: 0, /Month: 0, All-time: 0
Example

A mod's account is compromised and begins bulk-deleting messages in #reports to hide evidence of rule violations. At 20 deletions in 30 seconds, Anti-Mass Delete fires. If your purge bot is whitelisted by user ID, its legitimate /purge 100 commands pass through without triggering this module.

Anti-Mass Ban

Fires when 5+ bans are issued within 10 seconds.

Triggers when
  • 5 or more members are banned within a 10-second window
  • Compromised admin account running a mass-ban script
Does NOT trigger when
  • Banning 1–4 members (below threshold)
  • Server owner or whitelisted admin banning users
Recommended Thresholds — Very Strict
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 2, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 3, /Week: 0, /Month: 0, All-time: 0
Example

A bad actor gets co-owner and immediately runs a ban-all script. At 5 bans in 10 seconds (first mass-ban event), Remove Roles fires — they lose all their elevated roles and can no longer ban. If the script already queued more bans before the punishment applied, the second event triggers a Kick. Third event — permanent Ban.

Role Permission Drift

Alerts when a role's permissions are changed. Option to auto-revert the change.

Triggers when
  • Any non-whitelisted user edits a role's permission set
  • Attacker grants Administrator to a low-rank role they can access
  • Subtle privilege escalation attempts
Does NOT trigger when
  • Owner or whitelisted admin legitimately edits role permissions
Recommended Config
Auto-revert toggleEnable — permissions restored to what they were before the change
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 3, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 5, /Week: 0, /Month: 0, All-time: 0
Example

An attacker edits the @Member role to grant it Administrator. With auto-revert on: the permission is immediately restored to its original state — members never gain admin. The attacker's roles are stripped (Phase 1). The alert channel shows: "Role permission drift detected — @Member modified by [User]. Change reverted."

Channel Permission Drift

Alerts when channel permission overwrites are changed. Option to auto-revert.

Triggers when
  • A non-whitelisted user modifies a channel's permission overwrites
  • Private channel made public by removing restrictions
  • Staff channels exposed to everyone
Does NOT trigger when
  • Owner or whitelisted admin adjusts channel permissions
Recommended Config
Auto-revert toggleEnable — permission overwrites restored to their previous state
Remove Roles/Day: 1, /Week: 0, /Month: 0, All-time: 0
Kick/Day: 3, /Week: 0, /Month: 0, All-time: 0
Ban/Day: 5, /Week: 0, /Month: 0, All-time: 0
Example

An attacker opens #mod-logs (normally private) to @everyone. With auto-revert on: the overwrite is immediately reset — members never see the private channel. The alert channel logs the event and the attacker's roles are stripped.

Anti-Nuke — Punishments & Escalation

Each module enforces a per-window action limit. Exceeding that limit triggers Phase 1. Each time the limit is exceeded again, the next phase activates — Kick, then Ban.

The 3 Phases

Phase 1
🛡️
Remove Roles
Fires the first time the action limit is exceeded. All non-whitelisted roles are stripped — the user loses their permissions and can no longer perform the protected action.
exceeds limit again
Phase 2
👢
Kick
Fires the next time the limit is exceeded after Phase 1 has already activated. The user is removed from the server but can rejoin.
exceeds limit again
Phase 3
🔨
Ban
Fires the next time the limit is exceeded after Phase 2 has already activated. Permanent ban — no further access.

How the Threshold Limits Work

Each phase has its own threshold value for each time window (/Day, /Week, /Month). The value is the maximum number of that action allowed in that window. Once the user exceeds it, that phase fires.

ColumnWhat it means
ActiveEnable or disable this punishment phase entirely. A disabled phase is skipped — escalation jumps straight to the next enabled phase.
/DayMaximum actions allowed in a 24-hour period. Exceeding this triggers this phase. Example: /Day 2 = user may perform this action up to 2 times today; the 3rd action triggers the phase.
/WeekMaximum actions allowed in a 7-day rolling period. Works the same as /Day, independently.
/MonthMaximum actions allowed in a 30-day rolling period. Works the same as /Day, independently.
All-timeMaximum actions allowed in total, ever. Works the same as /Day, independently.

Setting a window to 0 disables it — that window is ignored and does not contribute to triggering the phase. Only windows with a value above 0 are checked. Set all windows to 0 and the phase will never fire regardless of violations.

Each window is independent. /Day and /Week can each trigger escalation on their own. A user who stays under the /Day limit but exceeds the /Week limit will still be punished — and vice versa.

Escalation Example 1 — Anti-Delete Channel, /Day: 2 on all phases

Config: Remove Roles /Day: 2 — Kick /Day: 2 — Ban /Day: 2. /Week, /Month, All-time all set to 0 (ignored). Only /Day is active.

The user may delete up to 2 channels per day. The 3rd deletion exceeds the limit. Each further exceedance escalates to the next phase.

1
User deletes #old-archive Within limit (1 of 2)
Daily count: 1. Limit is 2 — not exceeded yet. No action taken.
2
User deletes #test-channel At limit (2 of 2)
Daily count: 2. Still at the limit, not exceeding it. No action taken.
3
User deletes #general Phase 1 — Remove Roles
Daily count: 3. Exceeds /Day limit of 2. Phase 1 fires — all non-whitelisted roles stripped. The user can no longer delete channels.
4
User somehow deletes #announcements Phase 2 — Kick
Daily count: 4. Exceeds the limit again — Phase 1 has already fired, so the next phase activates. User is kicked from the server.
5
User rejoins and deletes #rules Phase 3 — Ban
Daily count: 5. Exceeds the limit again — Phase 2 has already fired, so Phase 3 activates. Permanent ban.

Escalation Example 2 — Anti-Create Channel, Different /Day per Phase

Config: Remove Roles /Day: 2 — Kick /Day: 5 — Ban /Day: 8. Auto-delete channel toggle: on. All other windows: 0.

Each phase has a higher daily threshold. Phase 1 is strict (fires at 3 channels), while Phase 2 and 3 need more violations before escalating. This gives a warning buffer while still capping at a hard ban.

1–2
User creates 2 channels Within limit (2 of 2)
Count: 2. At the Remove Roles limit but not exceeding it. Each channel is auto-deleted by the toggle, but no user punishment yet.
3
User creates a 3rd channel Phase 1 — Remove Roles
Count: 3. Exceeds Remove Roles /Day 2. Channel auto-deleted. User's roles stripped — they lose Manage Channels and cannot create channels further.
4–5
User creates 2 more channels via exploit Phase 1 already fired — below Kick threshold
Count: 4–5. Still exceeds Remove Roles /Day 2. But Kick /Day threshold is 5 — count must EXCEED 5 (reach 6+) to trigger Phase 2. At count 5, no escalation yet.
6
User creates a 6th channel Phase 2 — Kick
Count: 6. Exceeds Kick /Day 5. Phase 2 fires — user is kicked from the server. That's 6 auto-deleted raid channels, zero visible to members.
9
User rejoins and creates 3 more channels Phase 3 — Ban
Count: 9. Exceeds Ban /Day 8. Permanent ban. Every channel was auto-deleted — members saw nothing the entire time.

Escalation Example 3 — Anti-Delete Role, Using /Week

Config: Remove Roles /Week: 3 — Kick /Week: 6 — Ban /Week: 9. /Day and /Month: 0. Auto-restore: on.

Only the weekly window is active. The user is allowed to delete up to 3 roles across a 7-day period before Phase 1 fires. This is suitable for servers with regular admin activity where a single deletion per day would be too strict.

Mon–Tue
User deletes 3 roles across 2 days At weekly limit (3 of 3)
Weekly count: 3. Each deleted role is auto-restored. The weekly count has hit the limit but not exceeded it — no punishment yet.
Wed
User deletes a 4th role Phase 1 — Remove Roles
Weekly count: 4. Exceeds /Week limit of 3. Role auto-restored. User's roles stripped. Alert logged with weekly violation count.
Thu–Fri
User deletes 3 more roles (weekly count: 7) Phase 2 — Kick
Weekly count: 7. Exceeds Kick /Week 6. User kicked. All roles have been auto-restored throughout — zero lasting damage.
Sat
User rejoins and deletes 3 more roles (weekly count: 10) Phase 3 — Ban
Weekly count: 10. Exceeds Ban /Week 9. Permanent ban.

Escalation Example 4 — Anti-Bot Add, /Day: 1 on all phases

Config: Remove Roles /Day: 1 — Kick /Day: 1 — Ban /Day: 1. Auto-kick bot toggle: on.

Maximum strictness. The user is allowed 1 bot addition per day. Any additional addition immediately escalates.

1
User adds a bot At limit (1 of 1)
Daily count: 1. At the limit, not exceeding it. Bot is allowed. (If it's a legitimate bot, whitelist it to avoid future triggers.)
2
User adds another bot Phase 1 — Remove Roles
Daily count: 2. Exceeds /Day 1. Bot auto-kicked. User's roles stripped. Alert posted.
3
User adds a third bot Phase 2 — Kick
Daily count: 3. Exceeds the limit again — Phase 1 already fired. Bot auto-kicked. User kicked from server.
4
User rejoins and adds a fourth bot Phase 3 — Ban
Daily count: 4. Exceeds the limit again — Phase 2 already fired. Bot auto-kicked. User permanently banned.

Escalation Example 5 — Anti-Mass Ban, /Day: 1 on all phases

Config: Remove Roles /Day: 1 — Kick /Day: 1 — Ban /Day: 1. Each "violation" = one mass-ban event (5+ bans in 10 seconds).

A mass-ban event is treated as a single violation. The user gets 1 mass-ban event per day before Phase 1 fires. Any further event immediately escalates.

1
Attacker bans 5 members in 8 seconds At limit (1 mass-ban of 1)
Daily count: 1. At the limit — no punishment. (Consider lowering to 0 for all-time to make it fire on any event.)
2
Attacker triggers a second mass-ban event Phase 1 — Remove Roles
Daily count: 2. Exceeds /Day 1. Roles stripped — they lose Ban Members permission. Attack halted.
3
A queued ban script fires before roles were fully stripped Phase 2 — Kick
Daily count: 3. Exceeds limit again — Phase 1 already fired. User kicked from server.
4
Attacker rejoins and triggers another event Phase 3 — Ban
Daily count: 4. Phase 2 already fired. Permanent ban applied.

Whitelist & Owner Behaviour

  • Whitelisted users receive no punishment, and their actions are not counted toward the threshold.
  • If Log Whitelisted Actions is on, their actions still appear in the alert channel for audit purposes.
  • The server owner is always exempt — the bot cannot kick or ban them.
Example — Whitelisted admin counts do not accumulate

Your Head Admin deletes 10 channels during a restructure. Their role is in the Global Whitelist. Those 10 deletions are not counted as violations — the day count for Anti-Delete Channel stays at 0 for them. A separate compromised account who deletes 3 channels (with /Day: 2) would still hit Phase 1 immediately because their count is tracked independently.

Violation Monitor

The Violation Attempts Monitor at the bottom of the Anti-Nuke panel shows the live violation history for every tracked user per module. Click Load to fetch current data. Use the reset button to clear a user's count if a false positive occurred — this sets their count back to 0 so Phase 1 starts fresh.

When to use the Violation Monitor

A legitimate admin was setting up new channels quickly and triggered Anti-Create Channel (their daily count hit 3, exceeding the /Day: 2 limit). Phase 1 fired and stripped their roles. Open the Violation Monitor → reset their count → manually restore their roles. Then add their role to the module's whitelist so it never happens again during setup work.

Anti-Nuke — Detection Flow

The exact sequence of checks that run from the moment a suspicious action is detected to when a punishment is applied — with a worked scenario at each step.

Scenario used throughout this section

A compromised moderator account deletes #general. Anti-Delete Channel module is enabled. Config: Remove Roles /Day: 1, Kick /Day: 2, Ban /Day: 3. The mod's role is NOT whitelisted. This is their first violation today.

1
Action detected The #general channel is deleted. The Anti-Delete Channel module intercepts this event.
2
Module & master switch checked Anti-Nuke master switch: on. Anti-Delete Channel: enabled. Processing continues.
3
Actor identified via audit log The bot reads the server's audit log and identifies ModUser#1234 as the one who deleted the channel. (Requires View Audit Log permission.)
4
Owner check Is ModUser#1234 the server owner? No. Processing continues.
5
Global whitelist check Does ModUser hold a globally whitelisted role, or is their ID in the global whitelist? No. Processing continues.
6
Module whitelist check Does ModUser hold a role in Anti-Delete Channel's per-module whitelist? No. Processing continues.
7
Violation recorded & thresholds evaluated A violation is logged for ModUser in Anti-Delete Channel. Day count: 1. Remove Roles /Day threshold: 1. 1 ≥ 1 → Remove Roles phase activates.
8
Punishment applied All of ModUser's non-whitelisted roles are stripped. They can no longer perform privileged actions. The #general channel remains deleted (there is no auto-restore for Anti-Delete Channel — use Auto-Backup to recover).
9
Logged to alert channel An embed posts to your alert channel: "🛡️ Anti-Nuke triggered — Anti-Delete Channel | Actor: ModUser#1234 | Action: Deleted #general | Punishment: Remove Roles | Violation count today: 1/3".

The bot requires View Audit Log permission to identify who performed the action. Without it, Step 3 fails and no punishment can be issued — the violation goes undetected.

What happens if the actor IS whitelisted?

Scenario — Whitelisted admin deletes a channel

Same setup, but ModUser's role is in the global whitelist. The flow runs through Steps 1–5, hits the global whitelist check at Step 5 and finds a match. No violation is recorded. No punishment is applied. If Log Whitelisted Actions is on, an embed still fires in the alert channel: "ℹ️ Whitelisted action — Anti-Delete Channel | Actor: ModUser#1234 | Action: Deleted #general | No punishment (whitelisted)." The event is auditable, but the mod is never punished.

Auto-Backup Premium

Creates an automatic server snapshot every 2 days. Stores up to 10 backups — oldest removed when the limit is reached.

Settings

OptionWhat it does
Enable Auto-BackupStarts the 2-day automatic cycle. Disable to pause new snapshots without deleting existing ones.

Example

Scenario — Server nuked, channel deleted, backup restores it

An attacker deleted 8 channels before Anti-Delete Channel fired and banned them. Anti-Nuke stopped the attack but the 8 channels are still gone. You go to the Backups panel, find the backup from 36 hours ago (before the attack), and restore it. All 8 channels are recreated with their original settings and permission overwrites.

Best Practice

Enable Auto-Backup alongside Anti-Nuke. Anti-Nuke stops attacks in real time — Auto-Backup ensures that even if something slips through, you have a recent snapshot to restore from. Also create a manual backup before any major server restructure.

Manual backups and restores are available in the Backups panel (owner only).

Logging

Posts detailed embeds to designated channels whenever important server events occur, creating a permanent audit trail.

Log Channels

SettingWhat it records
Audit Log ChannelGeneral events — joins, leaves, message edits/deletes, role changes, channel changes, nickname updates.
Admin Command LogEvery moderation action — warns, kicks, bans, mutes — including which moderator issued it.
Report Log ChannelReports submitted by members through the bot's report system.
Boost Log ChannelServer boost and unboost events with the boosting member's details.

Example

Recommended Channel Setup

Create a private #audit-log category visible only to admins. Set up four channels: #audit-log, #mod-actions, #reports, #boosts — one per log type. This keeps your admin overview clean and each type of event easy to find when you need to investigate something.

Recommended Setup

Channel access: Restrict all log channels to @Admin and @Head Moderator only. Never give lower-rank mods access to audit logs — they contain full action history including disciplinary records.
Audit Log: Always enable. This is your primary record of member joins, leaves, message deletions, and role changes — essential for investigations.
Admin Command Log: Enable alongside Audit Log. When a member asks "why was I warned?", this log shows which moderator issued the action and when.
Report Log: Enable if you use the bot's /report command. Route it to a separate #reports channel so reports don't get buried in general audit events.
Boost Log: Enable and route to a semi-public channel like #server-updates so staff (and optionally members) can celebrate new boosters.

Cogit Security
Dashboard documentation — reflects the options visible in your server settings panel.
Home Dashboard Support