diff --git a/plugins/group_virtual/main.py b/plugins/group_virtual/main.py index 8674826..a8b817e 100644 --- a/plugins/group_virtual/main.py +++ b/plugins/group_virtual/main.py @@ -111,7 +111,7 @@ class GroupVirtualPlugin(MessagePluginInterface): sender = message.get("sender", "") full_wx_msg: WxMessage = message.get("full_wx_msg") content = message.get("content", "") - self.LOG.debug(f"插件执行: {self.name}:{content}") + self.LOG.debug(f"插件执行: {self.name}") self.bot: WechatAPIClient = message.get("bot") # 检查是否是机器人自己发送的消息 if full_wx_msg.from_self(): @@ -167,7 +167,6 @@ class GroupVirtualPlugin(MessagePluginInterface): if msg_type == MessageType.TEXT: content = message.get("content", "") forward_content = f"{prefix}{content}" - self.LOG.debug(f"forward_content: {forward_content}") # 转发到其他群 for group in chat_group["groups"]: if group["id"] != roomid: # 不转发回源群 @@ -181,7 +180,6 @@ class GroupVirtualPlugin(MessagePluginInterface): await self.bot.send_text_message(group["id"], f"{prefix}[图片]") # 转发图片 xml_content = message.get("content", "") - self.LOG.debug(f"xml_content: {xml_content}") await self.bot.send_cdn_img_msg(group["id"], xml_content) elif msg_type == MessageType.VIDEO: for group in chat_group["groups"]: @@ -189,7 +187,6 @@ class GroupVirtualPlugin(MessagePluginInterface): await self.bot.send_text_message(group["id"], f"{prefix}[视频]") # 转发图片 xml_content = message.get("content", "") - self.LOG.debug(f"xml_content: {xml_content}") await self.bot.send_cdn_video_msg(group["id"], xml_content) def _get_chat_group(self, chat_group_id: str) -> Optional[Dict[str, Any]]: