Remove syntax error exception, add help pages to some errors

This commit is contained in:
Ske
2018-09-02 19:41:14 +02:00
parent 16fc976971
commit 0869f94cdf
7 changed files with 30 additions and 35 deletions

View File

@@ -28,7 +28,7 @@ async def show_help(ctx: CommandContext, args: List[str]):
else:
embed.description = text
else:
raise InvalidCommandSyntax()
return embeds.error("Unknown help page '{}'.".format(category))
return embed