Documentation / Security / Anti-Nuke
/antiraid Required permission: Administrator
- 1. Open Control Panel
Invoke the Anti-Nuke panel with administrator permission.
/antiraid - 2. Review Thresholds
Check the maximum allowed channel and role deletion limits in 10 seconds.
Channel Deletion: 2/10s · Role Deletion: 2/10s - 3. In Case of Danger: Panic Mode
Put the server on red alert and lock all permissions with a single button.
🚨 PANIC MODE ACTIVE
Anti-Nuke is a high-level monitoring engine that makes it impossible for authorized administrators or compromised bots to delete the server within minutes (utils/antiNuke.js).
10 Second Threshold Values
The Aegis bot tracks every administrative action in a 10-second sliding window. The millisecond the following limits are exceeded, all permissions of the person performing the action are revoked, they are banned from the server, and panic mode is triggered:
- Channel Deletion (channelDelete):
- A maximum of 2 channels can be deleted within 10 seconds.
- Channel Creation (channelCreate):
- A maximum of 3 channels can be opened within 10 seconds.
- Role Deletion (roleDelete):
- A maximum of 2 roles can be deleted within 10 seconds.
- Role Creation (roleCreate):
- A maximum of 3 roles can be created within 10 seconds.
- Bulk Ban (memberBan):
- Maximum 3 members can be banned in 10 seconds.
- Webhook Spam (webhookMessage):
- Maximum 5 messages per webhook in 10 seconds.
- Server Update (serverUpdate):
- Maximum 2 server setting changes in 10 seconds.
/antiraidYou can toggle protection, manually trigger Panic Mode, or manage the whitelist via the panel.
🚨 PANIC MODE (Server Lockdown Mode)
When an attack is detected or an administrator presses the 'PANIC MODE' button, Aegis Guard immediately applies the following:
- Channel Permissions Reset:
- Send Messages is turned off for every role, including @everyone.
- Suspicious Permissions Taken:
- The roles of the user initiating the attack and suspicious accounts are stripped.
- Snapshot:
- The server's real-time permission map is saved to memory, keeping the recovery process ready.