An autonomous Discord server security bot and session monitor engineered for rapid threat containment, privilege change auditing, and proactive spam mitigation.
Part of the Stylix Developer Portfolio by @StylixXD.
- WebSocket Audit Streaming: Subscribes to Discord gateway events to intercept unauthorized role elevation or channel permission tampering within milliseconds.
- Automated Threat Isolation: Auto-quarantines accounts generating abnormal message bursts, raid patterns, or mass invite distribution.
- Session & Token Verification: Automated checks ensuring bot tokens and administrative webhooks remain isolated and secure.
- Configurable Moderation Rules: Granular threshold configuration per channel, role, and hierarchy tier.
- Runtime: Node.js / Bun
- Language: TypeScript
- Libraries: Discord.js v14
- State: In-memory caching with Redis persistence
git clone https://github.com/StylixXD/moderation-bot.git
cd moderation-bot
npm install
npm run startMIT © 2026 Ashu (@StylixXD)