修改调试代码,打开加群消息显示

This commit is contained in:
liuwei
2025-02-19 09:20:23 +08:00
parent 46d584434d
commit 122049f059
2 changed files with 9 additions and 9 deletions

View File

@@ -164,7 +164,7 @@ class Robot(Job):
try:
group_id = get_first_group_id(match.group(1))
self.LOG.info(f"邀请加入{match.group(1)}ID{group_id}{msg.sender}")
self.wcf.invite_chatroom_members(group_id, msg.sender)
resp =self.wcf.invite_chatroom_members(group_id, msg.sender)
except Exception as e:
self.LOG.error(f"邀请加入群出错:{e}")
return True
@@ -287,7 +287,7 @@ class Robot(Job):
while wcf.is_receiving_msg():
try:
msg = wcf.get_msg()
self.LOG.debug(msg)
self.LOG.info(msg)
self.processMsg(msg)
except Empty:
continue # Empty message