python-wechaty-getting-started icon indicating copy to clipboard operation
python-wechaty-getting-started copied to clipboard

The on_message event is not triggered when wechaty server restarts

Open Bennu-Li opened this issue 3 years ago • 1 comments

I have implemented a message forwarding bot using wechaty, with a python SDK on the client side

When the wechaty server restarts due to failure or update, the client does not report any error and the process exists normally, but it cannot continue to send messages using the wechaty service and needs to be restarted to resume normal.

It seems that the on_message event is not triggered when there is a new message, what is the reason for this, and how can I solve it?

Bennu-Li avatar Jun 08 '22 09:06 Bennu-Li

Yes, but the message will be maintained in the server with in some time .

Not all of history message should be stored when the bot is down.

wj-Mcat avatar Jul 05 '22 12:07 wj-Mcat