From 9b5f2f67b5cdd0ee427607c94e47cfbc394b286f Mon Sep 17 00:00:00 2001 From: Ibrahim2750mi Date: Sat, 3 Sep 2022 23:00:25 +0530 Subject: [PATCH 1/3] removed asterisk from embed description --- bot/exts/info/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/info/help.py b/bot/exts/info/help.py index 282f8c97ac..4ee20407c8 100644 --- a/bot/exts/info/help.py +++ b/bot/exts/info/help.py @@ -307,7 +307,7 @@ async def command_formatting(self, command: Command) -> tuple[Embed, Optional[Co # Remove line breaks from docstrings, if not used to separate paragraphs. # Allow overriding this behaviour via putting \u2003 at the start of a line. formatted_doc = re.sub("(? Date: Fri, 9 Sep 2022 14:38:30 +0530 Subject: [PATCH 2/3] removed italics from line 334, 375 and 415 --- bot/exts/info/help.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/exts/info/help.py b/bot/exts/info/help.py index 4ee20407c8..48f840e512 100644 --- a/bot/exts/info/help.py +++ b/bot/exts/info/help.py @@ -331,7 +331,7 @@ def get_commands_brief_details(commands_: List[Command], return_as_list: bool = for command in commands_: signature = f" {command.signature}" if command.signature else "" details.append( - f"\n**`{PREFIX}{command.qualified_name}{signature}`**\n*{command.short_doc or 'No details provided'}*" + f"\n**`{PREFIX}{command.qualified_name}{signature}`**\n{command.short_doc or 'No details provided'}" ) if return_as_list: return details @@ -372,7 +372,7 @@ async def send_cog_help(self, cog: Cog) -> None: embed = Embed() embed.set_author(name="Command Help", icon_url=constants.Icons.questionmark) - embed.description = f"**{cog.qualified_name}**\n*{cog.description}*" + embed.description = f"**{cog.qualified_name}**\n{cog.description}" command_details = self.get_commands_brief_details(commands_) if command_details: @@ -412,7 +412,7 @@ async def send_category_help(self, category: Category) -> None: filtered_commands = await self.filter_commands(all_commands, sort=True) command_detail_lines = self.get_commands_brief_details(filtered_commands, return_as_list=True) - description = f"**{category.name}**\n*{category.description}*" + description = f"**{category.name}**\n{category.description}" if command_detail_lines: description += "\n\n**Commands:**" From ee43b2a8c959c7ea93699dbd38fc1b9ab90316d1 Mon Sep 17 00:00:00 2001 From: Ibrahim2750mi Date: Sun, 11 Sep 2022 01:29:40 +0530 Subject: [PATCH 3/3] pagination.py, L239 added italics --- bot/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/pagination.py b/bot/pagination.py index 8f4353eb1e..10bef1c9f9 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -236,7 +236,7 @@ async def paginate( raise EmptyPaginatorEmbedError("No lines to paginate") log.debug("No lines to add to paginator, adding '(nothing to display)' message") - lines.append("(nothing to display)") + lines.append("*(nothing to display)*") for line in lines: try: