Welcome to DPY Anti-Spam’s documentation!¶
DPY Anti-Spam supports discord.py and all forks out of
the box assuming they use the discord
namespace.
If you want to use this with hikari, please enable it
by passing is_using_hikari=True
to the
AntiSpamHandler
constructor.
The package features some built in punishments, these are:
- Per member spam is treated as warns, then kicks followed by bans.
- Per channel spam starts off as a kick straight away followed by bans
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.