mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 06:56:39 +00:00 
			
		
		
		
	📝 update api docs
This commit is contained in:
		| @@ -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` | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -170,6 +170,17 @@ Rule(async_function, run_sync(sync_function)) | ||||
| ::: | ||||
|  | ||||
|  | ||||
| ## _class_ `ArgumentParser` | ||||
|  | ||||
| 基类:`argparse.ArgumentParser` | ||||
|  | ||||
|  | ||||
| * **说明** | ||||
|  | ||||
|     `shell_like` 命令参数解析器,解析出错时不会退出程序。 | ||||
|  | ||||
|  | ||||
|  | ||||
| ## `shell_command(*cmds, parser=None)` | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user