调整退群文案
This commit is contained in:
4
robot.py
4
robot.py
@@ -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}")
|
||||
resp =self.wcf.invite_chatroom_members(group_id, msg.sender)
|
||||
self.wcf.invite_chatroom_members(group_id, msg.sender)
|
||||
except Exception as e:
|
||||
self.LOG.error(f"邀请加入群出错:{e}")
|
||||
return True
|
||||
@@ -225,7 +225,7 @@ class Robot(Job):
|
||||
self.LOG.error(f"revoke_receive_message error: {e}")
|
||||
|
||||
try:
|
||||
#群人员添加也是消息类型10000的消息
|
||||
# TODO 群人员添加也是消息类型10000的消息
|
||||
result = self.gmc.process_message(msg.roomid, msg.xml)
|
||||
# 判断是否没有变化
|
||||
if "$NO_CHANGE$" not in result:
|
||||
|
||||
Reference in New Issue
Block a user