修复了对reply的解析

This commit is contained in:
Pliosauroidea
2025-03-15 16:16:40 +08:00
parent 24e150c64e
commit 1e0abb0a9b
2 changed files with 5 additions and 5 deletions

View File

@@ -249,11 +249,8 @@ class CQCode:
if self.reply_message is None:
return None
if hasattr(self.reply_message, "group_id"):
group_info = GroupInfo(
platform="qq", group_id=self.reply_message.group_id, group_name=""
)
group_info = GroupInfo(platform="qq", group_id=self.reply_message.group_id, group_name="")
else:
group_info = None