fix(moderation): fixed resolve command not marking logs as resolved

This commit is contained in:
Seaswimmer 2023-12-18 15:20:16 -05:00
parent f4839d9df7
commit e32e91180a
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -770,7 +770,7 @@ class Moderation(commands.Cog):
embed = await embed_factory('case', await self.bot.get_embed_color(None), interaction=interaction, case_dict=await fetch_case(case, interaction.guild.id)) embed = await embed_factory('case', await self.bot.get_embed_color(None), interaction=interaction, case_dict=await fetch_case(case, interaction.guild.id))
await interaction.response.send_message(content=f"✅ Moderation #{case:,} resolved!", embed=embed) await interaction.response.send_message(content=f"✅ Moderation #{case:,} resolved!", embed=embed)
await log(interaction, case) await log(interaction, case, resolved=True)
cursor.close() cursor.close()
database.close() database.close()