Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Discord Session Guard & Moderation Bot

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.


Highlights

  • 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.

Tech Stack

  • Runtime: Node.js / Bun
  • Language: TypeScript
  • Libraries: Discord.js v14
  • State: In-memory caching with Redis persistence

Quick Start

git clone https://github.com/StylixXD/moderation-bot.git
cd moderation-bot
npm install
npm run start

License

MIT © 2026 Ashu (@StylixXD)

About

Security-focused Discord bot and session manager featuring real-time WebSocket audit logging and threat mitigation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors