WIP: Refactor Aurora (3.0.0) #29
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ class Aurora(commands.Cog):
|
||||||
other_num = 0
|
other_num = 0
|
||||||
for moderation in moderations:
|
for moderation in moderations:
|
||||||
try:
|
try:
|
||||||
num = await moderation.type.expiry_handler(self.bot, guild, moderation)
|
num = await moderation.type.expiry_handler(moderation)
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
logger.warning("Expiry handler not implemented for expirable moderation type %s", moderation.type.key)
|
logger.warning("Expiry handler not implemented for expirable moderation type %s", moderation.type.key)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue