diff --git a/commands/message_forwarder.py b/commands/message_forwarder.py index 87876e7..d597674 100644 --- a/commands/message_forwarder.py +++ b/commands/message_forwarder.py @@ -54,6 +54,7 @@ class MessageForwarder: or not ctx.is_group or not ctx.msg or ctx.msg.from_self() + or getattr(ctx, "has_quote_reference", False) ): return False diff --git a/robot.py b/robot.py index 3fbc2e5..60d84c1 100644 --- a/robot.py +++ b/robot.py @@ -878,6 +878,7 @@ class Robot(Job): quoted_msg_id = None quoted_image_extra = None + msg_data = None # 处理引用消息等特殊情况 if msg.type == 49 and ("