From 47bf061f6741f9d78a2fe031da6433acd8677ee8 Mon Sep 17 00:00:00 2001 From: Changhua Date: Tue, 27 Sep 2022 22:20:26 +0800 Subject: [PATCH] Log sended message --- robot/base_robot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/robot/base_robot.py b/robot/base_robot.py index e82a84a..b5fdd6e 100644 --- a/robot/base_robot.py +++ b/robot/base_robot.py @@ -46,6 +46,7 @@ class BaseRobot(Job): # 这里偷个懒,直接 @昵称。有必要的话可以通过 MicroMsg.db 里的 ChatRoom 表,解析群昵称 ats = f" @{self.allContacts.get(wxid, '')}" + self.LOG.info(f"{msg}{ats}") self.sdk.WxSendTextMsg(receiver, f"{msg}{ats}", at_list) def isGroupChat(self, msg):