✏️ fix hook typo

This commit is contained in:
yanyongyu
2022-01-23 11:48:35 +08:00
parent 46757a315b
commit 5f3902fe61
4 changed files with 14 additions and 14 deletions

View File

@ -116,7 +116,7 @@ class Driver(abc.ABC):
def on_bot_connect(self, func: T_BotConnectionHook) -> T_BotConnectionHook:
"""装饰一个函数使他在 bot 连接成功时执行。
插槽函数参数:
钩子函数参数:
- bot: 当前连接上的 Bot 对象
"""
@ -126,7 +126,7 @@ class Driver(abc.ABC):
def on_bot_disconnect(self, func: T_BotDisconnectionHook) -> T_BotDisconnectionHook:
"""装饰一个函数使他在 bot 连接断开时执行。
插槽函数参数:
钩子函数参数:
- bot: 当前连接上的 Bot 对象
"""