fix help commands again
@@ -41,9 +41,9 @@ class Useful(commands.Cog):
@commands.group(name="help")
async def help(self, ctx):
- if isinstance(ctx, SlashContext): # it's a slashhhhh command
- ctx.l = await self.bot.get_lang(ctx)
- await ctx.respond()
+ # if isinstance(ctx, SlashContext): # it's a slashhhhh command
+ # ctx.l = await self.bot.get_lang(ctx)
+ # await ctx.respond()
if ctx.invoked_subcommand is None:
cmd = ctx.message.content.replace(f"{ctx.prefix}help ", "")
@@ -97,9 +97,9 @@ class Useful(commands.Cog):
@help.command(name="economy", aliases=["econ"])
async def help_economy(self, ctx):
- if isinstance(ctx, SlashContext): # it's a slashhhhh command
- ctx.l = await self.bot.get_lang(ctx)
- await ctx.respond()
+ # if isinstance(ctx, SlashContext): # it's a slashhhhh command
+ # ctx.l = await self.bot.get_lang(ctx)
+ # await ctx.respond()
embed = discord.Embed(color=self.d.cc)
@@ -129,9 +129,9 @@ class Useful(commands.Cog):
@help.command(name="utility", aliases=["util", "useful"])
async def help_utility(self, ctx):
- if isinstance(ctx, SlashContext): # it's a slashhhhh command
- ctx.l = await self.bot.get_lang(ctx)
- await ctx.respond()
+ # if isinstance(ctx, SlashContext): # it's a slashhhhh command
+ # ctx.l = await self.bot.get_lang(ctx)
+ # await ctx.respond()
embed = discord.Embed(color=self.d.cc)
@@ -145,9 +145,9 @@ class Useful(commands.Cog):
@help.command(name="fun")
async def help_fun(self, ctx):
- if isinstance(ctx, SlashContext): # it's a slashhhhh command
- ctx.l = await self.bot.get_lang(ctx)
- await ctx.respond()
+ # if isinstance(ctx, SlashContext): # it's a slashhhhh command
+ # ctx.l = await self.bot.get_lang(ctx)
+ # await ctx.respond()
embed = discord.Embed(color=self.d.cc)
@@ -161,9 +161,9 @@ class Useful(commands.Cog):
@help.command(name="administrator", aliases=["mod", "moderation", "administrative", "admin"])
async def help_administrative(self, ctx):
- if isinstance(ctx, SlashContext): # it's a slashhhhh command
- ctx.l = await self.bot.get_lang(ctx)
- await ctx.respond()
+ # if isinstance(ctx, SlashContext): # it's a slashhhhh command
+ # ctx.l = await self.bot.get_lang(ctx)
+ # await ctx.respond()
embed = discord.Embed(color=self.d.cc)
