diff options
| author | 2021-03-06 17:22:00 +0100 | |
|---|---|---|
| committer | 2021-03-06 17:22:00 +0100 | |
| commit | c53bff5771ded98b4ffc5c50fdd1634056889b07 (patch) | |
| tree | 6e556f0079b842dd02c6db3577f5d0743e838574 | |
| parent | Handle 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.py | 2 |
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) |