From 418cff9de67c0811ef223a11decdc354300fdd50 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 21:47:48 -0500 Subject: [PATCH] fix(moderation): guild.id instead of guild --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index c05d071..d9c036f 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1753,7 +1753,7 @@ class Moderation(commands.Cog): resolved_reason = 'NULL' changes = [] - await Moderation.mysql_log(self.cog_instance, self.ctx.guild, case['executor'], case['type'], case['target'], 0, duration, case['reason'], timestamp=timestamp, resolved=resolved, resolved_by=resolved_by, resolved_reason=resolved_reason, changes=changes, database=database) + await Moderation.mysql_log(self.cog_instance, self.ctx.guild.id, case['executor'], case['type'], case['target'], 0, duration, case['reason'], timestamp=timestamp, resolved=resolved, resolved_by=resolved_by, resolved_reason=resolved_reason, changes=changes, database=database) await interaction.edit_original_response(content="Import complete.")