aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-03-06 17:22:00 +0100
committerGravatar Numerlor <[email protected]>2021-03-06 17:22:00 +0100
commitc53bff5771ded98b4ffc5c50fdd1634056889b07 (patch)
tree6e556f0079b842dd02c6db3577f5d0743e838574
parentHandle unexpected errors when requesting markdown (diff)
Remove superfluous comment
After the move to a separate method, the docstring now documents the behaviour so a comment is unnecessary
-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)