From c23a777a9f66d55867e6eccac677b28031ee8520 Mon Sep 17 00:00:00 2001 From: nonebot Date: Mon, 28 Dec 2020 06:01:32 +0000 Subject: [PATCH] :memo: update api docs --- docs/api/drivers/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/drivers/README.md b/docs/api/drivers/README.md index dc5a6d61..313717cb 100644 --- a/docs/api/drivers/README.md +++ b/docs/api/drivers/README.md @@ -216,12 +216,12 @@ Driver 基类。将后端框架封装,以满足适配器使用。 -### `bot_connect(bot)` +### `_bot_connect(bot)` 在 WebSocket 连接成功后,调用该函数来注册 bot 对象 -### `bot_disconnect(bot)` +### `_bot_disconnect(bot)` 在 WebSocket 连接断开后,调用该函数来注销 bot 对象