change way help command arg parsing works
@@ -16,9 +16,11 @@ class Useful(commands.Cog):
self.db = self.bot.get_cog('Database')
@commands.group(name='help')
- async def help(self, ctx, cmd=None):
+ async def help(self, ctx):
if ctx.invoked_subcommand is None:
- if cmd is not None:
+ cmd = ctx.message.content.replace('help ', '')
+
+ if cmd != '':
cmd_true = self.bot.get_command(cmd.lower())
if cmd_true is not None:
