From c04b82b92fac059265450a8c9456cf67de445cf5 Mon Sep 17 00:00:00 2001 From: wlinator Date: Fri, 12 Apr 2024 12:51:52 +0200 Subject: [PATCH 1/2] Hide .help in the help command --- services/Help.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/Help.py b/services/Help.py index c4903cf..b9806c9 100644 --- a/services/Help.py +++ b/services/Help.py @@ -17,7 +17,8 @@ class RacuHelp(commands.HelpCommand): self.command_attrs = { "aliases": ["h"], "help": "Show a list of commands, or information about a specific command when an argument is passed.", - "name": "help" + "name": "help", + "hidden": True } def get_command_qualified_name(self, command): From a5e2af54036b3fbe8152f7ae2949cbf8754934a4 Mon Sep 17 00:00:00 2001 From: wlinator Date: Fri, 12 Apr 2024 13:42:40 +0200 Subject: [PATCH 2/2] Add wiki cmdlist to help output --- services/Help.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/services/Help.py b/services/Help.py index b9806c9..5edae0b 100644 --- a/services/Help.py +++ b/services/Help.py @@ -4,6 +4,7 @@ from dotenv import load_dotenv from config.parser import JsonCache from lib.embeds.error import HelpErrors +import lib.checks art = JsonCache.read_json("art") load_dotenv('.env') @@ -28,8 +29,11 @@ class RacuHelp(commands.HelpCommand): embed = discord.Embed(color=discord.Color.blurple()) embed.set_author(name="Help Command", icon_url=art["logo"]["transparent"]) - embed.description = ("Still need help? See [the wiki](https://wiki.wlinator.org/)!\n" - "Bug reports & feature requests go [here](https://gitlab.com/wlinator/Racu/-/issues/new).") + embed.description = ( + "Still need help? See [the wiki](https://wiki.wlinator.org/)!\n" + "Bug reports & feature requests go [here](https://gitlab.com/wlinator/Racu/-/issues/new).\n\n" + "Full list of commands: https://wiki.wlinator.org/cmdlist" + ) for cog, racu_commands in mapping.items():