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
|
@ -80,7 +80,7 @@ class Core(commands.Cog):
|
||||||
msg += "**Source Code:** _<https://github.com/taciturasa/searchbot-discord>_\n"
|
msg += "**Source Code:** _<https://github.com/taciturasa/searchbot-discord>_\n"
|
||||||
msg += "**Support Server:** _<https://discord.gg/4BpReNV>_\n"
|
msg += "**Support Server:** _<https://discord.gg/4BpReNV>_\n"
|
||||||
msg += "_Note: Please attempt to contact the hoster of any separate instances before this server._\n\n"
|
msg += "_Note: Please attempt to contact the hoster of any separate instances before this server._\n\n"
|
||||||
msg += f"_See **{ctx.prefix}** `help` for help, `invite` to add the bot, and `stats` for statistics._"
|
msg += f"_See **{ctx.prefix}**`help` for help, `invite` to add the bot, and `stats` for statistics._"
|
||||||
|
|
||||||
await ctx.send(msg)
|
await ctx.send(msg)
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ class TaciHelpCommand(commands.MinimalHelpCommand):
|
||||||
super().__init__(**options)
|
super().__init__(**options)
|
||||||
self.command_attrs['help'] = "Find more assistance on this bot."
|
self.command_attrs['help'] = "Find more assistance on this bot."
|
||||||
self.subcommands_heading = "Subcommands"
|
self.subcommands_heading = "Subcommands"
|
||||||
|
self.no_category = "Miscellaneous"
|
||||||
|
|
||||||
def get_opening_note(self):
|
def get_opening_note(self):
|
||||||
"""Provides the header for all help commands."""
|
"""Provides the header for all help commands."""
|
||||||
|
@ -124,7 +125,7 @@ class TaciHelpCommand(commands.MinimalHelpCommand):
|
||||||
self.paginator.add_line(note, empty=True)
|
self.paginator.add_line(note, empty=True)
|
||||||
|
|
||||||
# Gets the category for each command in the bot
|
# 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):
|
def get_category(command, *, no_category=no_category):
|
||||||
cog = command.cog
|
cog = command.cog
|
||||||
if cog is not None:
|
if cog is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue