Skip to content

A discord bot that is designed to contain and manage chat raids/spams that can occur within a discord server!

Notifications You must be signed in to change notification settings

WebTheDev/Anti-RaidBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Discord-AntiRaidBot

  • A discord bot that is designed to contain and manage chat raids/spams within a discord server!
  • Designed and Tested on Python 3.7.3 for Linux and Windows
  • If you would like a custom version of this bot please create a ticket in my discord!


Features:

  • With the Anti-Raid enabled, this bot will auto-kick all new members automatically upon joining of your server. Allowing you to keep all of your discord invite links active!
  • Upon running the command to enable Anti-Raid, the bot will auto-kick all new members who joined within the last 10 minutes (this value can be adjusted in the config.py file) (Seconds only).
  • Simple permissions system for use of the antiraid commands.
  • Auto 5 Minute slowmode for channel that the antiraid command is executed in. (Will be removed upon running disable antiraid command)
  • DM's Member on Auto-Kick
  • Custom Embed Footers
  • Logging for all Auto-Kicks and use of the Anti-Raid system.
  • Customizable bot status.
  • Ping and Logout Commands.
  • A couple other "easter eggs".

Python Packages Required (Install with Pip):


Setup

  • Place "main.py" and "config.py" into a folder (this is too allow the bot to be able to find the "config.py" file.)

  • Create a bot application at the discord developer panel and add to your discord server.

  • Allow the "Server Member Intent" under the "Privileged Gateway Intents" in the discord developer panel. (THIS IS VERY IMPORTANT! The bot will not work propertly without and will not be able to find or kick server members.)

  • Place your bot token and adjust the "config.py" to your liking.

  • Start the bot and watch the magic happen! (For windows right click on the main.py and click open, a cmd panel should appear. For linux, choose a starting resource that is best for your linux environment.)


Support

  • If you need further support with setting up this bot or find unknown errors you would like to report. Please either ask for support in my discord or open a new issue.

Known Errors:

Listed below are known errors that can not be solved due to discord limiations not software bugs:

  • Task Run Errors.
  • Discord Related Errors.
  • Ratelimits (similar to dyno or carl), discord only allows you to do so much at once. This can result in the antiraid command or kicking members to be a bit laggy. The bigger the server, the more likely that the bot can be a bit laggy.

About

A discord bot that is designed to contain and manage chat raids/spams that can occur within a discord server!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages