mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Changed No Category to Misc., fixed source/about formatting
This commit is contained in:
parent
05dae3d019
commit
00065351f2
2 changed files with 3 additions and 2 deletions
|
@ -16,6 +16,7 @@ class TaciHelpCommand(commands.MinimalHelpCommand):
|
|||
super().__init__(**options)
|
||||
self.command_attrs['help'] = "Find more assistance on this bot."
|
||||
self.subcommands_heading = "Subcommands"
|
||||
self.no_category = "Miscellaneous"
|
||||
|
||||
def get_opening_note(self):
|
||||
"""Provides the header for all help commands."""
|
||||
|
@ -124,7 +125,7 @@ class TaciHelpCommand(commands.MinimalHelpCommand):
|
|||
self.paginator.add_line(note, empty=True)
|
||||
|
||||
# Gets the category for each command in the bot
|
||||
no_category = '\u200b{0.no_category}'.format(self)
|
||||
no_category = f"\u200b{self.no_category}"
|
||||
def get_category(command, *, no_category=no_category):
|
||||
cog = command.cog
|
||||
if cog is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue