From a6124dd9ca4a3dfd8ea03b185b28f7a9da65eae2 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 13 Aug 2024 01:26:50 -0400 Subject: [PATCH] fix(aurora): fixed a TypeError whenever an expiry_handler function is called --- aurora/aurora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index bf99150..4523b9d 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -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