mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 20:23:12 +00:00
Add /help which leads the user to .help
This commit is contained in:
parent
3b1035d97d
commit
544598f5fb
1 changed files with 6 additions and 0 deletions
|
@ -2,8 +2,10 @@ import discord
|
|||
from discord.ext import commands
|
||||
from dotenv import load_dotenv
|
||||
|
||||
from config.parser import JsonCache
|
||||
from lib.embeds.error import HelpErrors
|
||||
|
||||
art = JsonCache.read_json("art")
|
||||
load_dotenv('.env')
|
||||
|
||||
|
||||
|
@ -24,6 +26,10 @@ class RacuHelp(commands.HelpCommand):
|
|||
async def send_bot_help(self, mapping):
|
||||
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).")
|
||||
|
||||
for cog, racu_commands in mapping.items():
|
||||
|
||||
filtered = await self.filter_commands(racu_commands, sort=True)
|
||||
|
|
Loading…
Reference in a new issue