From 64e1ac315daf4d17da02790859baebbbbb7bdfc4 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:20:31 +0100 Subject: update Client constants This also renames the Client class to Bot, to align better with Python. --- bot/exts/core/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/core/help.py') 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}" -- cgit v1.2.3