Welcome to Discord Anti-Spam’s documentation!¶
In order to tell AntiSpamHandler
what library you
are using you should pass the library
kwarg.
For the supported libraries, please see the Library
enum in the Enum reference page.
The package features some built in punishments, these are:
- Per member spam:
Warn -> Kick -> Ban. This is default in versions lower then 1.3.0
Discord timeouts. This is default in versions 1.3.0 or higher.
Primary Interface:
Main Interaction Classes
Plugin Framework
Object Reference:
Install Notes¶
Initial install will get you a working version of this lib, however it is recommended you also install python-Levenshtein to speed this up. This does require c++ build tools, hence why it is not included by default.