New: get_bot function (#419)

Co-authored-by: nonebot <nonebot@users.noreply.github.com>
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
midori
2021-06-27 02:03:54 -04:00
committed by GitHub
parent b3718c3042
commit b9de8baac4
4 changed files with 88 additions and 8 deletions

View File

@ -62,7 +62,7 @@ Driver 基类。
### _abstract_ `__init__(env, config)`
### `__init__(env, config)`
* **参数**
@ -164,7 +164,7 @@ Driver 基类。
驱动专属 logger 日志记录器
### _abstract_ `run(host=None, port=None, *args, **kwargs)`
### _abstract_ `run(*args, **kwargs)`
* **说明**
@ -176,12 +176,6 @@ Driver 基类。
* **参数**
* `host: Optional[str]`: 驱动绑定 IP
* `post: Optional[int]`: 驱动绑定端口
* `*args`