aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-08-18 18:34:51 +0100
committerGravatar Chris Lovering <[email protected]>2022-08-19 10:28:03 +0100
commitaa2cdf594892b563f3d8ba24aa4f04d43a85e331 (patch)
tree30e683bfe257c7842189e48db8ca8abb8920ccde
parentUpdate help command to work with root_aliases (diff)
Don't output command name twice in help command
-rw-r--r--bot/exts/core/help.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py
index 7d8066df..7384c27d 100644
--- a/bot/exts/core/help.py
+++ b/bot/exts/core/help.py
@@ -316,7 +316,6 @@ class HelpSession:
paginator.add_line(f"**```\n{prefix}{signature}\n```**")
parent = self.query.full_parent_name + " " if self.query.parent else ""
- paginator.add_line(f"**```\n{prefix}{parent}{signature}\n```**")
aliases = [f"`{alias}`" if not parent else f"`{parent}{alias}`" for alias in self.query.aliases]
aliases += [f"`{alias}`" for alias in getattr(self.query, "root_aliases", ())]
aliases = ", ".join(sorted(aliases))