[ModLog] Call correct method for case message content (#1981)

This commit is contained in:
Toby Harradine 2018-08-11 12:06:58 +10:00 committed by GitHub
parent 76c0071f57
commit f44ea8b749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,10 @@ class ModLog:
await ctx.send(_("That case does not exist for that server"))
return
else:
await ctx.send(embed=await case.get_case_msg_content())
if await ctx.embed_requested():
await ctx.send(embed=await case.message_content(embed=True))
else:
await ctx.send(await case.message_content(embed=False))
@commands.command(usage="[case] <reason>")
@commands.guild_only()