WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit a6124dd9ca - Show all commits

View file

@ -1090,7 +1090,7 @@ class Aurora(commands.Cog):
other_num = 0
for moderation in moderations:
try:
num = await moderation.type.expiry_handler(self.bot, guild, moderation)
num = await moderation.type.expiry_handler(moderation)
except NotImplementedError:
logger.warning("Expiry handler not implemented for expirable moderation type %s", moderation.type.key)
continue