From f44ea8b749c889c33f9617d000cf1c28dbc7b7f0 Mon Sep 17 00:00:00 2001 From: Toby Harradine Date: Sat, 11 Aug 2018 12:06:58 +1000 Subject: [PATCH] [ModLog] Call correct method for case message content (#1981) --- redbot/cogs/modlog/modlog.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/redbot/cogs/modlog/modlog.py b/redbot/cogs/modlog/modlog.py index 34e72991d..d4f8a030d 100644 --- a/redbot/cogs/modlog/modlog.py +++ b/redbot/cogs/modlog/modlog.py @@ -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] ") @commands.guild_only()