Help page updates

This commit is contained in:
Ske 2018-12-10 20:09:35 +01:00
parent be09c87f52
commit 0aa370e549
6 changed files with 36 additions and 18 deletions

View file

@ -45,11 +45,9 @@ async def specific_member_root(ctx: CommandContext):
await member_birthdate(ctx, member)
elif ctx.match("delete") or ctx.match("remove") or ctx.match("destroy") or ctx.match("erase"):
await member_delete(ctx, member)
elif ctx.match("help"):
await ctx.reply(help.member_commands)
else:
raise CommandError(
"Unknown subcommand {}. For a list of all commands, type `pk;member help`".format(ctx.pop_str()))
"Unknown subcommand {}. For a list of all commands, type `pk;help member`".format(ctx.pop_str()))
else:
# Basic lookup
await member_info(ctx, member)