📝 update api docs

This commit is contained in:
nonebot
2021-11-19 10:20:20 +00:00
parent 471d306e13
commit a5948fb5e3
4 changed files with 94 additions and 66 deletions

View File

@ -29,7 +29,7 @@ sidebarDepth: 0
* **参数**
* `func: T_Handler`: 事件处理函数。
* `func: Callable[..., Any]`: 事件处理函数。
* `name: Optional[str]`: 事件处理器名称。默认为函数名。
@ -50,7 +50,7 @@ sidebarDepth: 0
* **类型**
`T_Handler`
`Callable[..., Any]`