|
@@ -119,7 +119,7 @@ def auto_contacts_from_chatroom(): |
|
|
remaining_chatroot_members = [x for x in chatroot_member_list if x.get('wxid') not in contact_set] |
|
|
remaining_chatroot_members = [x for x in chatroot_member_list if x.get('wxid') not in contact_set] |
|
|
for m in remaining_chatroot_members: |
|
|
for m in remaining_chatroot_members: |
|
|
ret,msg,data=wxchat.add_group_member_as_friend(token_id,app_id,chatroom_id,m.get('wxid'),f'您好,我是来自{chatroom_nickname}群的{nickname}') |
|
|
ret,msg,data=wxchat.add_group_member_as_friend(token_id,app_id,chatroom_id,m.get('wxid'),f'您好,我是来自{chatroom_nickname}群的{nickname}') |
|
|
logger.info(f'{nickname} 向 {chatroom_nickname}群的{m.get('nickname')}发送好友邀请 {msg}') |
|
|
|
|
|
|
|
|
logger.info(f'{nickname} 向 {chatroom_nickname}群的{m.get("nickname")}发送好友邀请 {msg}') |
|
|
time.sleep(3) |
|
|
time.sleep(3) |
|
|
time.sleep(3) |
|
|
time.sleep(3) |
|
|
else: |
|
|
else: |
|
|