forked from blizzthewolf/SeaCogs
fix(moderation): fixed resolve command not marking logs as resolved
This commit is contained in:
parent
f4839d9df7
commit
e32e91180a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue