mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 16:56:02 +00:00
feat: 恢复nakuru使用
This commit is contained in:
@@ -263,6 +263,7 @@ class OfficialEventConverter(adapter_model.EventConverter):
|
||||
)
|
||||
|
||||
|
||||
@adapter_model.adapter_class("qq-botpy")
|
||||
class OfficialAdapter(adapter_model.MessageSourceAdapter):
|
||||
"""QQ 官方消息适配器"""
|
||||
bot: botpy.Client = None
|
||||
@@ -298,8 +299,6 @@ class OfficialAdapter(adapter_model.MessageSourceAdapter):
|
||||
|
||||
self.bot = botpy.Client(intents=intents)
|
||||
|
||||
# TODO 获取机器人id和昵称
|
||||
|
||||
async def send_message(
|
||||
self,
|
||||
target_type: str,
|
||||
|
||||
Reference in New Issue
Block a user