wwebjs-api icon indicating copy to clipboard operation
wwebjs-api copied to clipboard

webhook double execution after reconnect

Open sutidor opened this issue 2 months ago • 2 comments

After connecting a session successfully, each webhook event will be fired twice. However, if I restart the server, it works just fine from there. I did not find any issues (neither in pedros repo) but also I have no idea where to start debugging this. Ideas?

Version is latest, 1.34.1 now, but it happened before as well.

sutidor avatar Oct 16 '25 08:10 sutidor

Not able to reproduce locally, do you see that behaviour for each new session? Are you able to share the service logs with debug mode enabled? Do not forget to remove sensitive data in advance.

avoylenko avatar Oct 16 '25 15:10 avoylenko

Have the same issue. Resolved it by add "message_create" to DISABLED_CALLBACKS. Seems like it will create both "message" and "message_create" callbacks.

sunrisewestern avatar Nov 02 '25 04:11 sunrisewestern