aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/core/help.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:20:31 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:46 +0100
commit64e1ac315daf4d17da02790859baebbbbb7bdfc4 (patch)
tree15c3e2973685408b11272a34af1bc2de58580e28 /bot/exts/core/help.py
parentupdate Categories (diff)
update Client constants
This also renames the Client class to Bot, to align better with Python.
Diffstat (limited to 'bot/exts/core/help.py')
-rw-r--r--bot/exts/core/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py
index 30deaff4..d031cafe 100644
--- a/bot/exts/core/help.py
+++ b/bot/exts/core/help.py
@@ -311,7 +311,7 @@ class HelpSession:
self._pages = paginator.pages
async def _add_command_signature(self, paginator: LinePaginator) -> None:
- prefix = constants.Client.prefix
+ prefix = constants.Bot.prefix
signature = self._get_command_params(self.query)
paginator.add_line(f"**```\n{prefix}{signature}\n```**")
@@ -405,7 +405,7 @@ class HelpSession:
if isinstance(self.query, commands.Command):
prefix = ""
else:
- prefix = constants.Client.prefix
+ prefix = constants.Bot.prefix
signature = self._get_command_params(command)
info = f"{strikeout}**`{prefix}{signature}`**{strikeout}"