Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

E4zily/discord-massban-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Massban Bot

This little bot can ban recently joined users to prevent/cleanup bot spam waves.

Public Bot

I'm hosting a public instance of this bot. You can invite it using this link. If you have questions or want to report bugs, use the issues tab.

MAKE SURE TO GRANT THE BOT BAN RIGHTS AND ENABLE ALL PRIVILEGED GATEWAY INTENTS!

Installation

Python 3.6+ required, only tested 3.8 and 3.11!

Install the requirements:

pip install -r requirements.txt

Copy and rename config.ini.example to config.ini and paste the discord bottoken and configure the list of roles that are allowed to use the bot.

Run the bot:

python bot.py

Usage

!botspam [number of minutes since joined (default is 60)] [number of days since account creation (optional)]

So if you want to ban every user that joined 120 minutes ago and only accounts that were created 2 weeks ago, use !botspam 120 14. You'll get a list of users that got selected. If you want to finally ban that list, click on the reaction. It'll take some time, depending on the amount of users. You'll get a message when the bot is finished.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.1%
  • Dockerfile 2.9%