A Discord bot that protects your server from nearly all types of raids - and partially from crashes.
| Category | Protection |
|---|---|
| 🔗 Links | Discord server invite links, including via shorteners (bit.ly, etc.) |
| 🎟️ Invite codes | Raw Discord invite codes posted in chat |
| 🎵 Activity spam | Spam via Discord Activity / Spotify integrations |
| 📢 Mass mentions | Bulk @mentions aimed at disrupting the server |
| 🤖 External apps | Spam originating from third-party tools |
| 💬 Flood | Message flooding in text channels |
| 🌿 Thread flood | Flooding through thread creation |
| 🔇 Voice rooms | Private voice channels created with invite codes or server links |
| 🔣 Symbol spam | Chat clutter from excessive special characters |
| 🔒 Auto lockdown | Automatic lockdown on suspected mass raid (triggered by Discord alert or a surge of violations) |
| 💥 Crash protection | Basic crash mitigation — fairly standard, consider pairing with Wick for more coverage |
Requirements: Python 3.13 or 3.14
-
Pick a host — GalaxyGate works well in terms of price and ping. Your own machine is fine too.
-
Install Python — grab it from python.org/downloads
-
Download the bot — hit "Download ZIP" on this repo, or use GitHub CLI
-
Extract the archive and open the folder
-
Add your bot token to the
.envfile -
Install dependencies
pip install -r requirements.txt
-
Run the bot
python main.py
-
(Optional but recommended) — Go through the config and adjust the settings to fit your server. The bot works out of the box, but tuning it will get you better results.


