wechaty / getting-started

A Starter Project Template for Wechaty works out-of-the-box
https://gitpod.io/#https://github.com/wechaty/wechaty-getting-started
Apache License 2.0
779 stars 344 forks source link

New WeChat account: Violating Tencent Terms of Service #175

Open corporal-clegg87 opened 3 years ago

corporal-clegg87 commented 3 years ago

1. Versions

2. Describe the bug

Give a clear and concise description of what the bug is. After creating a new wechat account so that I can stay logged in on the server and running a room-bot there to send reminders once a day to one test group for three days, wechat was force-logged out of the server. The logs showed the following:

2021-04-15 21:15:04,665 - Wechaty - INFO - receive event <EventLogoutPayload(contact_id='wxid_g8n1kyv300a022', data='{"code":4,"msg":"Session Timeout"}')> 2021-04-15 21:15:04,666 - RoomBot - INFO - Bot Rivendell-Education logouted

After waiting a few days, I logged wechat back in on the server and adding the bot to 3-4 of my own wechat groups, I was logouted again within minutes and received a warning from wechat for violating their terms of service and have had restrictions placed on that account.

I find the wechat bot so incredibly handy and really want to extend it to provide us with more functionality but what am I doing that upsets tencent so much. I am not spamming.

huan commented 3 years ago

New accounts are always more likely to be blocked than old accounts, even that you have not been using Wechaty, it might happen (which makes lots of people struggle about it).