diff --git a/packages/alicebot-adapter-cqhttp/alicebot/adapter/cqhttp/__init__.py b/packages/alicebot-adapter-cqhttp/alicebot/adapter/cqhttp/__init__.py index db91317..0d83463 100644 --- a/packages/alicebot-adapter-cqhttp/alicebot/adapter/cqhttp/__init__.py +++ b/packages/alicebot-adapter-cqhttp/alicebot/adapter/cqhttp/__init__.py @@ -180,7 +180,7 @@ async def handle_cqhttp_event(self, msg: dict[str, Any]) -> None: break event_class = self.get_event_model( post_type, - detail_type, + detail_type or msg.get(post_type + "_type"), msg.get("sub_type"), )