Reload case after it's created
This commit is contained in:
parent
5dd3c9548c
commit
d2a8080c3a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue