🐛 修复一个私聊进行多步会话的BUG

This commit is contained in:
KimigaiiWuyi 2024-11-06 07:02:22 +08:00
parent 06fba7cb16
commit 2d6fbfb3c9

View File

@ -51,7 +51,7 @@ async def handle_event(ws: _Bot, msg: MessageReceive, is_http: bool = False):
)
return
bid = event.bot_id if event.group_id else '0'
bid = event.bot_id if event.bot_id else '0'
uid = event.user_id if event.user_id else '0'
if event.user_type != 'direct':