mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 18:50:13 +00:00
Remove syntax error exception, add help pages to some errors
This commit is contained in:
parent
16fc976971
commit
0869f94cdf
7 changed files with 30 additions and 35 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue