From fac00feeeffd048ea150900fde9ed8dc576c54ee Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 6 Jul 2024 11:47:56 -0400 Subject: [PATCH] fix(aurora): fixed another AttributeError --- aurora/utilities/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/utilities/utils.py b/aurora/utilities/utils.py index 0686c02..1445537 100644 --- a/aurora/utilities/utils.py +++ b/aurora/utilities/utils.py @@ -123,7 +123,7 @@ async def log(ctx: commands.Context, moderation_id: int, resolved: bool = False) logging_channel = ctx.guild.get_channel(logging_channel_id) try: - moderation = await Moderation.find_by_id(ctx.bot, moderation_id, ctx.guild_id) + moderation = await Moderation.find_by_id(ctx.bot, moderation_id, ctx.guild.id) embed = await log_factory( ctx=ctx, moderation=moderation, resolved=resolved )