aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/doc/_cog.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py
index 0334f6001..fb45d0bbb 100644
--- a/bot/exts/info/doc/_cog.py
+++ b/bot/exts/info/doc/_cog.py
@@ -239,8 +239,6 @@ class DocCog(commands.Cog):
"""
doc_item = self.doc_symbols.get(symbol_name)
if doc_item is None and " " in symbol_name:
- # If an invalid symbol contains a space, check if the command was invoked
- # in the format !d <symbol> <message>
symbol_name = symbol_name.split(" ", maxsplit=1)[0]
doc_item = self.doc_symbols.get(symbol_name)