@@ -97,7 +97,7 @@ def __init__(self, msg):
9797 self .we_type = msg ["Type" ] # 消息类型
9898 self .we_text = msg ["Text" ] # 消息内容
9999
100- logging .warning ("show: wind_name=%s, actual_send_name =%s, we_type=%s, we_text=%s" , self .wind_name , self .actual_remark_name , self .we_type , self .we_text )
100+ logging .warning ("wind_name=%s, send_name =%s, we_type=%s, we_text=%s" , self .wind_name , self .actual_remark_name , self .we_type , self .we_text )
101101 return
102102
103103
@@ -148,11 +148,11 @@ def process_message_revoke(msg):
148148 return
149149
150150 if old_msg .from_user_name .startswith ("@@" ):
151- my .send ("【%s】中【%s】撤回了自己发送的消息:\n Type: %s\n Time: %s \ n %s" %
152- (old_msg .wind_name , old_msg .actual_remark_name , old_msg .we_type , old_msg .msg_time , old_msg . msg_file ), toUserName = my .to_user_name )
151+ my .send ("【%s】中【%s】撤回了自己发送的消息:\n Type: %s\n %s" %
152+ (old_msg .wind_name , old_msg .actual_remark_name , old_msg .we_type , old_msg .msg_file ), toUserName = my .to_user_name )
153153 else :
154- my .send ("【%s】撤回了自己发送的消息:\n Type: %s\n Time: %s \ n %s" %
155- (old_msg .wind_name , old_msg .we_type , old_msg .msg_time , old_msg . msg_file ), toUserName = my .to_user_name )
154+ my .send ("【%s】撤回了自己发送的消息:\n Type: %s\n %s" %
155+ (old_msg .wind_name , old_msg .we_type , old_msg .msg_file ), toUserName = my .to_user_name )
156156
157157 if old_msg .we_type in ["Text" , "Card" ]:
158158 my .send (str (old_msg .we_text ), toUserName = my .to_user_name )
0 commit comments