From 42bd63f96297cb095e933f4386ff26b184443598 Mon Sep 17 00:00:00 2001 From: strNophix Date: Sat, 12 Nov 2022 20:38:35 +0100 Subject: [PATCH] Removed help command --- cogs/information/interactions.py | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/cogs/information/interactions.py b/cogs/information/interactions.py index d910ee0..e18868f 100644 --- a/cogs/information/interactions.py +++ b/cogs/information/interactions.py @@ -1,11 +1,8 @@ import typing - from discord import app_commands from discord import Interaction import humanize import lavalink - -import cogs.music.helper as music_helper from utils.embed import create_embed if typing.TYPE_CHECKING: @@ -24,33 +21,6 @@ class InfoCommands(app_commands.Group): embed.description = f"[{self.bot.invite_link}]({self.bot.invite_link})" await ctx.response.send_message(embed=embed) - @app_commands.command( - name="help", description="In case you cannot find what you want" - ) - async def about(self, ctx: Interaction): - embed = create_embed(ctx.user) - - info = self.bot.config["info"] - embed.title = info["name"] + " help" - embed.description = info["description"] - - display_cogs = { - "Information": ":information_source:", - "Music": ":musical_note:", - "Settings": ":gear:", - } - - for cog_name, cog_icon in display_cogs.items(): - cog = self.bot.cogs.get(cog_name) - if not cog: - continue - cogname_str = f"{cog_icon} {cog_name}" - commands = [f"`{cmd.name}`" for cmd in cog.get_commands() if not cmd.hidden] - commands_str = ", ".join(commands) - embed.add_field(name=cogname_str, value=commands_str, inline=False) - - await ctx.response.send_message(embed=embed) - @app_commands.command( name="stats", description="Some node/server/player information" )