Skip to content

The on_message event is not triggered when wechaty server restarts  #79

Open

Description

@Bennu-Li

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?

Activity

  1. wj-Mcat commented on Jul 5, 2022

    @wj-Mcat
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions