1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00

Merge branch 'dev' into 'main'

Edit help output

See merge request wlinator/Racu!60
This commit is contained in:
wlinator 2024-04-12 11:43:07 +00:00
commit 60e0626e9e

View file

@ -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')
@ -17,7 +18,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):
@ -27,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():