aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-07-10 22:36:19 +0200
committerGravatar Numerlor <[email protected]>2020-07-10 22:36:19 +0200
commit03dbddfcae35e47d57222343817ea779d6b67ab2 (patch)
tree6bf4f65b1cd1c8081fcedaa37907b4e29db9eed7
parentUse the group attribute instead of checking the symbol name. (diff)
Remove codeblock from symbol embed title.
The code block caused the url to not highlight the title text on mobile
-rw-r--r--bot/cogs/doc.py2
1 files changed, 1 insertions, 1 deletions
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
)