Skip to content

zorexw/lain-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lain Bot

✨ Lain Bot ✨

A Discord bot that protects your server from nearly all types of raids - and partially from crashes.


Features

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

Setup

Requirements: Python 3.13 or 3.14

  1. Pick a hostGalaxyGate works well in terms of price and ping. Your own machine is fine too.

  2. Install Python — grab it from python.org/downloads

  3. Download the bot — hit "Download ZIP" on this repo, or use GitHub CLI

  4. Extract the archive and open the folder

  5. Add your bot token to the .env file

  6. Install dependencies

    pip install -r requirements.txt
  7. Run the bot

    python main.py
  8. (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.


Screenshots

Bot in action

Illustration Illustration 2

About

A Discord bot that protects your server from nearly all types of raids - and partially from crashes.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages