Changelog¶
A changelog that should be fairly up to date feature wise.
1.3.0 -> 1.4.0¶
Support for Redis as a built in cache backend.
1.2.11 -> 1.3.0¶
New:¶
The
AdminLogsplugin now supports custom punishments via a new argument when initializing it. See the plugin for further info.
Fixes:¶
Upgraded the nextcord
Libto support the latest release. This is not backwards compatible.AntiSpamTrackershould now be library agnostic.AntiSpamTrackerSubclassexample is now up to date.A regression in clean cache where it checked
Optionsrather then the current anti spam handlers options
Changes:¶
All usages of
userin AntiSpamTracker are nowmemberMaxMessageLimiter:New hard cap of 50
Is now guild wide
Punishment is a timeout for 5 minutes
Default punishment scheme is to timeout members.
Removed:¶
DPY as a default for the library options in init and load_from_dict.
The ability to use names for ignored channels and roles.
1.2.8 -> 1.2.9¶
Fixed timeouts ‘stacking’ when they shouldn’t have.
Resolved some issues with discord.py and forks where default avatars would result in errors.
1.2.(3-7) -> 1.2.8¶
Fixed MongoCache and MyCustomTracker.
These are also both now fully unit-tested.
1.2.2 -> 1.2.3¶
Fixed the AdminLogs plugin for timeouts.
1.2.1 -> 1.2.2¶
The big feature of this release is the new punishment
handling using discord timeouts. You can opt into
these by passing use_timeouts=True as an option.
This will be the become the default scheme in version 1.3.0.
New:¶
Added the
times_timed_outfield toMember’sAdded
member_was_timed_outfield toCorePayload- Added the following fields to
Options use_timeoutsmember_timeout_messageguild_log_timeout_messagemember_failed_timeout_messagemember_timeout_message_delete_afterguild_log_timeout_message_delete_after
- Added the following fields to
Fixes:¶
Optionattributes missing documentation- How the core handler used
Options Previously per-guild options were ignored in most situations, this has been fixed.
- How the core handler used
Deprecated:¶
- Library defaults
In version 1.3.0 you will need to explicitly define the library you are running AntiSpam with.
- MaxMessages Plugin
It will be getting reworked in version 1.3.0, if you wish to preserve current behaviour save it locally.
Support for
.namelookups in ignored channels & roles
Changes:¶
Libimpl changesReworked the lib folder to provide explicit fork support and reduce duplicated code.
Options.is_per_channel_per_guilddefaultsThis was changed to
Falseto preserve the current behaviour once it is actually implemented.
1.2.0 -> 1.2.1¶
Fixes:¶
Mongo is no longer required when not using the MongoCache
1.1.3 -> 1.2.0¶
New:¶
- Added support for Pincer.
You can use this by passing the
library=Library.Pincerenum to your AntiSpamHandler during initialization.
- New message templating option.
$MENTIONBOTto mention your bot.
- A method for changing caches.
AntiSpamHandler.set_cache(new_cache)
- A new cache.
MongoCache(AntiSpamHandler, "Mongo connection url")
Fixed:¶
HikariregressionsSome misc bugs
Changes:¶
- Modified
Libinterface Check it out, its more DRY now.
- Modified
- Modified
Member _in_guildis nowinternal_is_in_guild
- Modified
Removed:¶
- Extra installs for:
DPYandhikari
1.1.2 -> 1.1.3¶
Backwards compatible changes:
- Closed issue #73 on Github, this means you can now save plugin states.
Note only the shipped
Statsplugin currently saves it’s state.