From 03dbddfcae35e47d57222343817ea779d6b67ab2 Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Fri, 10 Jul 2020 22:36:19 +0200 Subject: Remove codeblock from symbol embed title. The code block caused the url to not highlight the title text on mobile --- bot/cogs/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py index 5ebfb6c25..e2e3adb4e 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc.py @@ -350,7 +350,7 @@ class Doc(commands.Cog): embed_description += f"\n{description}" embed = discord.Embed( - title=f'`{symbol}`', + title=discord.utils.escape_markdown(symbol), url=permalink, description=embed_description ) -- cgit v1.2.3