From a6b875a24271b6b25b79e7c3ba6a6ad5dd2f6800 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Thu, 4 Apr 2024 16:50:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20GroupMessageReceived=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/platform/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/platform/manager.py b/pkg/platform/manager.py index fb23cb5..b5f6986 100644 --- a/pkg/platform/manager.py +++ b/pkg/platform/manager.py @@ -82,8 +82,8 @@ class PlatformManager: event_ctx = await self.ap.plugin_mgr.emit_event( event=events.GroupMessageReceived( - launcher_type='person', - launcher_id=event.sender.id, + launcher_type='group', + launcher_id=event.group.id, sender_id=event.sender.id, message_chain=event.message_chain, query=None