mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-08 23:06:03 +00:00
refactor: 审计api改为异步
This commit is contained in:
@@ -54,7 +54,7 @@ class QQBotManager:
|
||||
self.bot_account_id = self.adapter.bot_account_id
|
||||
|
||||
# 保存 account_id 到审计模块
|
||||
from ..utils.center import apigroup
|
||||
from ..audit.center import apigroup
|
||||
apigroup.APIGroup._runtime_info['account_id'] = "{}".format(self.bot_account_id)
|
||||
|
||||
async def on_friend_message(event: FriendMessage):
|
||||
|
||||
Reference in New Issue
Block a user