Reload case after it's created

This commit is contained in:
Zeva Rose 2022-05-03 16:20:27 -06:00
parent 5dd3c9548c
commit d2a8080c3a

View file

@ -322,6 +322,7 @@ class CaseCog(Cog):
case = Modlog(user=user.id, guild=ctx.guild.id, admin=ctx.author.id, notes=[note])
await case.commit()
await case.reload()
embed = await self.get_summary_embed(case, ctx.guild)
await ctx.send(embed=embed)