From a28ae5dfb610151060eab9856c44b2d192131f0d Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Sun, 21 Jun 2020 15:58:55 +0200 Subject: Strip backticks from symbol input. This allows the user to wrap symbols in codeblocks to avoid markdown. --- bot/cogs/doc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py index 1c9d80e47..0dc1713a3 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc.py @@ -458,6 +458,7 @@ class Doc(commands.Cog): await ctx.send(embed=inventory_embed) else: + symbol = symbol.strip("`") # Fetching documentation for a symbol (at least for the first time, since # caching is used) takes quite some time, so let's send typing to indicate # that we got the command, but are still working on it. -- cgit v1.2.3