mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
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:
@ -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`
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user