From d98c44657ca358b368ba8012c729d6f2208787e4 Mon Sep 17 00:00:00 2001 From: Matthew Cohen Date: Sat, 3 Feb 2024 00:18:38 -0500 Subject: [PATCH] Incorrectly logging user as mod the closed thread --- cogs/modmail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/modmail.py b/cogs/modmail.py index 2743010..ac1286d 100644 --- a/cogs/modmail.py +++ b/cogs/modmail.py @@ -353,7 +353,7 @@ async def _appeal_accept(self, interaction: discord.Interaction, reason: app_com finally: await utils._close_thread( self.bot, - user, + interaction.user, None, interaction.channel, self.bot.get_channel(config.modLog), @@ -451,7 +451,7 @@ async def _appeal_deny( finally: await utils._close_thread( self.bot, - user, + interaction.user, None, interaction.channel, self.bot.get_channel(config.modLog),