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

AntiBetray Guard

Proactive defense against rogue staff, admin betrayal, privilege escalation, and mass actions by whitelisted members.

AntiBetray Guard addresses the single largest threat to established Discord servers: betrayal by trusted staff members. Whitelisted administrators and extra owners are continuously rate-tracked for rapid destructive actions.
INTERNAL DEFENSE MANDATE
AntiBetray monitors actions even from whitelisted staff and extra owners (Server Owner is exempt). If a trusted user hits the configured action threshold within the tracking window (global default: 4 actions / 10s, or 4 actions / 60s for ban/kick), they are banned, de-whitelisted, and queued recovery actions are replayed.

Activation Workflow

1

Enable AntiBetray Engine

Activate internal monitoring and auto-generate #kyrex-antibetray-logs.

?antibetray enable
2

Customize Rate Limits

Adjust global action limits (3-10), tracking windows (10s-60s), and per-event overrides.

?antibetray config
3

Bind Custom Alert Channel

Optionally redirect AntiBetray staff alerts to another private channel.

?antibetray log #security-alerts

The Internal Betrayal Threat

Standard AntiNuke modules exempt whitelisted users from instant single-action bans. If a whitelisted admin account is compromised or turns rogue, they could abuse that trust to mass-delete channels or ban members. AntiBetray solves this by placing rolling action-window caps on whitelisted members and Extra Owners.

The 15 Protected Betrayal Events

AntiBetray tracks and throttles 15 distinct internal operations: 1. `ban` - Member bans 2. `kick` - Member kicks 3. `prune` - Member prune purges 4. `botadd` - Adding unauthorized bots 5. `serverup` - Server icon, name, or settings updates 6. `memup` - Granting admin roles to members 7. `chcr` - Channel creations 8. `chdl` - Channel deletions 9. `chup` - Channel permission or setting updates 10. `rlcr` - Role creations 11. `rldl` - Role deletions 12. `rlup` - Role permission or setting updates 13. `meneve` - Unauthorized @everyone or @here mentions 14. `mngweb` - Webhook management 15. `mngstemo` - Emoji or sticker management

Enabling AntiBetray & Dedicated Logs

Only the Server Owner can manage AntiBetray, and AntiNuke must be enabled first. Enabling AntiBetray creates a private `#kyrex-antibetray-logs` channel.

>_AntiBetray Core Commands
1# Check AntiBetray status
2?antibetray
3
4# Enable AntiBetray defense
5?antibetray enable
6
7# Change alert logging channel
8?antibetray log #security-alerts
9
10# Disable AntiBetray and clean up log channel
11?antibetray disable

Configuring Action Limits & Time Windows

Run `?antibetray config` (or adjust inside the Web Dashboard Anti-Betray tab) to tune the global limit (`3` to `10` actions; default `4`), global tracking window (`10s` to `60s`; default `10s`, with `ban` and `kick` defaulting to `4` actions / `60s`), or set custom per-event limits and windows for any of the 15 tracked event types.

>_Configuration Panel
1?antibetray config

AntiBetray Guard Commands

[ Full Command Matrix ]
Prefix:
?antibetray
AntiBetray Guard
Display AntiBetray Guard status and configuration commands.
?antibetrayenable
AntiBetray Guard
Enable AntiBetray protection to monitor whitelisted staff & extra owners and create #kyrex-antibetray-logs.
?antibetraydisable
AntiBetray Guard
Disable AntiBetray monitoring and delete the #kyrex-antibetray-logs channel.
?antibetraylog <#channel>
AntiBetray Guard
Redirect AntiBetray incident reports and staff betrayal alerts to a specific channel.
?antibetrayconfig
AntiBetray Guard
Interactively adjust global and per-event action limits (3-10) and time windows (10s-60s) for all 15 betrayal events.