📝 update api docs

This commit is contained in:
AkiraXie 2021-02-02 04:16:37 +00:00
parent a54fd2f235
commit 223b9bc887
2 changed files with 14 additions and 0 deletions

View File

@ -34,6 +34,9 @@ sidebarDepth: 0
* `on_command` => `nonebot.plugin.on_command`
* `on_shell_command` => `nonebot.plugin.on_shell_command`
* `on_regex` => `nonebot.plugin.on_regex`

View File

@ -170,6 +170,17 @@ Rule(async_function, run_sync(sync_function))
:::
## _class_ `ArgumentParser`
基类:`argparse.ArgumentParser`
* **说明**
`shell_like` 命令参数解析器,解析出错时不会退出程序。
## `shell_command(*cmds, parser=None)`