Moderation & security

Cases

Every action — from a command, the dashboard, auto-moderation, an automation or the API — creates a numbered case with moderator, reason, duration and optional evidence. Temporary bans are lifted automatically.

Automatic escalation

Under Moderation → Escalation add steps like 3 warnings → 1 hour timeout, 5 warnings → kick. Each step can count warnings over all time or a rolling window.

Anti-raid

Detects join spikes (e.g. 10 joins in 30 seconds). Actions: alert staff, lock the server (removes Send Messages from @everyone and restores it exactly afterwards), kick the recent joiners or apply a verification role. New accounts can be flagged, timed out, kicked or quarantined.

Anti-nuke

Uses Discord's live audit-log events to spot an executor deleting channels or roles, mass banning/kicking, creating webhooks or granting dangerous permissions faster than your thresholds. The executor's dangerous roles can be removed (or the executor kicked/banned) and staff are alerted.

Honest limits: Casharks Bot can only respond after Discord reports an action, and only within its role hierarchy. It cannot undo a deletion — use Backups to recreate channels and roles. Keep Administrator to a minimum and add trusted admins to the allow-list.

Anti-spam

Message bursts, duplicates, mass mentions, emoji floods, invites, links (with an allow-list), caps and blocked words — each violation deletes the message and can warn, timeout or kick.

Scam protection

Hacked accounts and scam bots post the same thing in every channel at once: MrBeast or Elon crypto "giveaways", casino promo codes, fake Nitro and Steam gift links. Set it up under Moderation → Settings → Scam protection.

Trap channels. Create a channel such as #do-not-post and add it as a trap channel (search by name or paste its channel ID). Real members never post there, but scam bots post everywhere, so anyone who posts in it is punished straight away. Ban is the default; Softban removes their messages but lets a hacked friend rejoin; kick and timeout are also available. Press Post warning message to put a "do not post here" notice in each trap channel.

Scam detection. Optionally scan every channel for known scam patterns. A message needs two independent signals (for example a celebrity name plus a crypto withdraw or promo-code hook, or a look-alike Discord or Steam link) so normal chat about crypto, MrBeast or discord.js isn't affected.

Never punished: the server owner, members with Manage Messages, your mod/admin roles, protected roles and any roles you list. Every action is a moderation case and appears in the security log. On a ban, the member's messages from the last 24 hours are deleted too (up to 7 days, configurable).