fix(aurora): fixed a TypeError whenever an expiry_handler function is called
This commit is contained in:
parent
ad063062fb
commit
a6124dd9ca
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue