diff options
author | 2021-09-01 12:49:50 +0100 | |
---|---|---|
committer | 2021-09-01 12:49:50 +0100 | |
commit | a4351738cc074f42b60521c122e8712888c50498 (patch) | |
tree | ded4cb387c825583693816d122ac1848e8d3fdae /bot/exts/evergreen/help.py | |
parent | Merge pull request #835 from python-discord/discord-2.0 (diff) |
Start and end codeblocks with newlines to avoid android rendering them inline
Diffstat (limited to 'bot/exts/evergreen/help.py')
-rw-r--r-- | bot/exts/evergreen/help.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/help.py b/bot/exts/evergreen/help.py index bfb5db17..0c0922d6 100644 --- a/bot/exts/evergreen/help.py +++ b/bot/exts/evergreen/help.py @@ -308,7 +308,7 @@ class HelpSession: signature = self._get_command_params(self.query) parent = self.query.full_parent_name + " " if self.query.parent else "" - paginator.add_line(f"**```{prefix}{parent}{signature}```**") + 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)) |