Skip to content

Commit 6fbba63

Browse files
authored
Fix backtick parsing in docs command (#3443)
1 parent 13dcd54 commit 6fbba63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/exts/info/doc/_cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ async def get_command(self, ctx: commands.Context, *, symbol_name: str | None) -
325325
await ctx.send(embed=inventory_embed)
326326

327327
else:
328-
symbol = symbol_name.strip("`")
328+
symbol = symbol_name.replace("`", "").split()[0]
329329
async with ctx.typing():
330330
doc_embed = await self.create_symbol_embed(symbol)
331331

0 commit comments

Comments
 (0)