📝 update api docs

This commit is contained in:
nonebot
2020-12-03 04:09:54 +00:00
parent e718f25c3f
commit da62e012c2
3 changed files with 24 additions and 2 deletions

View File

@ -176,7 +176,7 @@ await bot.send_msg(message="hello world")
## _class_ `BaseEvent`
基类:`typing.Generic`, `abc.ABC`
基类:`abc.ABC`, `typing.Generic`
Event 基类。提供上报信息的关键信息,其余信息可从原始上报消息获取。
@ -187,7 +187,7 @@ Event 基类。提供上报信息的关键信息,其余信息可从原始上
* **参数**
* `raw_event: T`: 原始上报消息
* `raw_event: Union[dict, T]`: 原始上报消息