Migrating to 1.0¶
The biggest change from 0.x.x to 1.x.x is that everything is now more sanely named in regard to pep8.
Likely missing things here, if you’d like support join our discord and we’d be happy to assist.
- Extensions are now called plugins
from antispam.ext import ...->
from antispam.plugins import ...
user_ -> member_
When failing to send a message, it now sends it to the guild log channels
Some misc methods on the handler have signature changes
Package is typed more, however not fully. This is still a work in progress
Misc changes, no doubt I’ve missed heaps
Added support for Hikari and all discord.py forks
- Added a guild log channel setting
guild_ messages will be sent here if set, otherwise same as before
Abstracted logic and data storage to be separate. This means you can setup your own cache such as redis. See
Now features an easy way to clean up your cache. See
Plugins now have direct access to storage within the cache. You should be interacting with
Plugins now support blacklisting to stop runs on certain guilds. See Plugin Blacklisting under
Package Plugin System
150%faster then 0.x.x on small test cases
Fully tested, no more pesky regression bugs
More comprehensive logging, this is greatly improved compared to 0.x.x
When the package attempts to delete spam messages, it will now actually delete all messages marked as spam rather then just the last one.
Logging now lazily computes variables, this should be a decent speedup