Kyrex Loading
KYREX
Security & Core Defense Setup•3 min read•2026

Panic Mode Lockdown

Server-wide emergency fail-safe protocol to lock channels, strip Administrator permissions, and save restoration snapshots.

In the event of an active raid, staff account compromise, or mass server disruption, Panic Mode serves as an emergency stop. One command locks down channels and strips Administrator permissions from roles below Kyrex.
SAVED ROLE SNAPSHOT FOR RESTORATION
When Panic Mode is enabled, Kyrex saves the moved role position and original permission bitfields of every modified role in the database. Running ?panicmode disable restores those role permissions/positions and unlocks channels.

Activation Workflow

1

Trigger Instant Lockdown

Lock text/voice channels and revoke Administrator permission from non-managed roles below Kyrex.

?panicmode enable
2

Inspect Elapsed Lockdown Time

Check whether Panic Mode is currently active and how long it has been engaged.

?panicmode
3

Restore Normal Server State

Restore saved role Administrator permissions, role order, and channel access.

?panicmode disable

Emergency Lockdown Protocol

When `?panicmode enable` is executed, Kyrex performs the following steps: 1. Elevates the largest member role beneath the bot to directly below the bot's top role (saving its original position). 2. Strips the `Administrator` permission from all non-managed roles positioned below the bot (saving each role's original permission bitfield). 3. Locks all text channels by denying `Send Messages` for `@everyone`. 4. Locks all voice channels by denying `Connect` for `@everyone`.

Triggering Panic Mode

Only the Server Owner or Extra Owners can trigger Panic Mode.

>_Panic Mode Activation
1# Trigger emergency server lockdown
2?panicmode enable
3
4# Shorthand alias
5?pm enable

Deactivation & Safe State Restoration

Once the threat is neutralized, execute `?panicmode disable` to restore all original channel overwrites and role permissions without manual intervention.

>_Panic Mode Deactivation
1# Restore server to pre-lockdown state
2?panicmode disable
3
4# Shorthand alias
5?pm disable

Audit & Status Inspection

Check whether Panic Mode is currently engaged and view elapsed lockdown time.

>_Status Command
1?panicmode

Panic Mode Lockdown Commands

[ Full Command Matrix ]
Prefix:
?antinuke
AntiNuke & Security
Display AntiNuke defense overview, activation status, and active modules.
?antinukeenable
AntiNuke & Security
Customize the 16 security event toggles and initialize AntiNuke defense roles and #kyrex-antinuke-logs.
?antinukedisable
AntiNuke & Security
Disable AntiNuke & Anti-Betray, clean up defense/wall roles and log channels, and clear the whitelist.
?antinukeconfig [event|view|enableall|disableall] [on|off]
AntiNuke & Security
Toggle any of the 16 security events interactively or via CLI (?antinuke config <event|view|enableall|disableall>).
?antinukelog <#channel>
AntiNuke & Security
Set or change the dedicated text channel for real-time AntiNuke incident alerts.
?antinukewall
AntiNuke & Security
Create the ~ Kyrex Wall protected role beneath Kyrex Supreme Defense™, add it to human AutoRole, and assign it to humans.
?antinukescan
AntiNuke & Security
Audit defense roles, hierarchy inversion, bot permissions, Wall role, and log channel, with one-click fixes that preserve your whitelist.
?panicmodeenable
AntiNuke & Security
Trigger server emergency lockdown: freeze all channels, strip dangerous permissions, and backup server state.
?panicmodedisable
AntiNuke & Security
Deactivate panic mode and safely restore original channel permissions and overwrites.
?panicmode
AntiNuke & Security
Check active panic mode status and elapsed lockdown duration.
?verifysetup
AntiNuke & Security
Deploy interactive member verification system with Normal Button or Canvas CAPTCHA.
?verifyreset
AntiNuke & Security
Reset verification system and clean up verified roles and channels.
?antiunverifiedbotenable
AntiNuke & Security
Automatically block and kick unverified Discord bots from joining the server.
?antiunverifiedbotdisable
AntiNuke & Security
Disable unverified bot shield.
?antiunverifiedbot
AntiNuke & Security
Check current enforcement status of the unverified bot shield.
?wladd <@user|userID>
AntiNuke & Security
Whitelist a trusted member to exempt them from AntiNuke automated sanctions.
?wlremove <@user|userID>
AntiNuke & Security
Remove a user from the AntiNuke whitelist.
?wllist
AntiNuke & Security
Display all currently whitelisted members and trusted administrators.
?wlreset
AntiNuke & Security
Reset and clear all whitelisted users from the server database.
?extraowneradd <@user>
AntiNuke & Security
Grant extra-owner privileges to manage security features (Free limit: 2, Premium: 5).
?extraownerremove <@user|userID>
AntiNuke & Security
Revoke extra-owner privileges from a user.
?extraownerlist
AntiNuke & Security
List all current extra owners and available allocation slots.
?extraownerreset
AntiNuke & Security
Clear all assigned extra owners from the guild configuration.
?mainroleadd <@role>
AntiNuke & Security
Register a primary role (max 5) so unauthorized @role mentions are intercepted and sanctioned.
?mainroleremove <@role>
AntiNuke & Security
Remove a role from the protected main roles list.
?mainrolelist
AntiNuke & Security
List all configured protected main roles.
?mainrolereset
AntiNuke & Security
Clear all main role protections.