💬 💡 rename some dataclass, add comments for events in mirai adapter

This commit is contained in:
Mix
2021-02-01 00:01:31 +08:00
parent ceeb37f8ec
commit 7c9cbe7b58
9 changed files with 143 additions and 50 deletions

View File

@ -89,6 +89,9 @@ class WebSocket(BaseWebSocket):
class MiraiWebsocketBot(MiraiBot):
"""
mirai-api-http 正向 Websocket 协议 Bot 适配。
"""
@overrides(MiraiBot)
def __init__(self, connection_type: str, self_id: str, *,