@@ -65,8 +65,8 @@ def _format_flag_details(self, command: commands.Command[Any, Any, Any]) -> str:
6565 for flag in param_annotation .__commands_flags__ .values ():
6666 flag_str = self ._format_flag_name (flag )
6767 if flag .aliases :
68- flag_str += f" ({ ", " .join (flag .aliases )} )"
69- flag_str += f"\n \t { flag .description or " No description provided" } "
68+ flag_str += f" ({ ', ' .join (flag .aliases )} )"
69+ flag_str += f"\n \t { flag .description or ' No description provided' } "
7070 if flag .default is not discord .utils .MISSING :
7171 flag_str += f"\n \t Default: { flag .default } "
7272 flag_details .append (flag_str )
@@ -82,10 +82,10 @@ def _format_flag_name(flag: commands.Flag) -> str:
8282 async def _add_command_help_fields (self , embed : discord .Embed , command : commands .Command [Any , Any , Any ]) -> None :
8383 """Adds fields with usage and alias information for a command to an embed."""
8484 prefix = await self ._get_prefix ()
85- embed .add_field (name = "Usage" , value = f"`{ prefix } { command .usage or " No usage" } `" , inline = False )
85+ embed .add_field (name = "Usage" , value = f"`{ prefix } { command .usage or ' No usage' } `" , inline = False )
8686 embed .add_field (
8787 name = "Aliases" ,
88- value = (f"`{ ", " .join (command .aliases )} `" if command .aliases else "No aliases" ),
88+ value = (f"`{ ', ' .join (command .aliases )} `" if command .aliases else "No aliases" ),
8989 inline = False ,
9090 )
9191
@@ -95,7 +95,7 @@ def _add_command_field(embed: discord.Embed, command: commands.Command[Any, Any,
9595 command_aliases = ", " .join (command .aliases ) if command .aliases else "No aliases"
9696 embed .add_field (
9797 name = f"{ prefix } { command .qualified_name } ({ command_aliases } )" ,
98- value = f"> { command .short_doc or " No documentation summary" } " ,
98+ value = f"> { command .short_doc or ' No documentation summary' } " ,
9999 inline = False ,
100100 )
101101
@@ -281,7 +281,7 @@ async def send_command_help(self, command: commands.Command[Any, Any, Any]) -> N
281281
282282 embed = self ._embed_base (
283283 title = f"{ prefix } { command .qualified_name } " ,
284- description = f"> { command .help or " No documentation available." } " ,
284+ description = f"> { command .help or ' No documentation available.' } " ,
285285 )
286286
287287 await self ._add_command_help_fields (embed , command )
@@ -295,7 +295,7 @@ async def send_group_help(self, group: commands.Group[Any, Any, Any]) -> None:
295295 """Sends a help message for a specific command group."""
296296 prefix = await self ._get_prefix ()
297297
298- embed = self ._embed_base (f"{ group .name } " , f"> { group .help or " No documentation available." } " )
298+ embed = self ._embed_base (f"{ group .name } " , f"> { group .help or ' No documentation available.' } " )
299299
300300 await self ._add_command_help_fields (embed , group )
301301 for command in group .commands :
0 commit comments