You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lately I noticed that the event pendingRequest no longer is emitted when an instagram user sends a message to the bot for the first time (and the bot does not follow that user). This is the event I would like to capture:
Could it be that instagram changed the event name or did an update? Is there any way to test this?
Here's my code snippet: this does not work (nothing is printed to the console at all, so I assume the event is not being emitted somehow):
client.on('pendingRequest',(chat)=>{console.log("👤 Incoming new DM request");try{chat.approve();console.log("✅ accepted");}catch(err){console.log("❌ error: "+err.message);}});
I have a log from 2020-12-08 where this feature was still working. Just leaving this info here, maybe its usefull to find the problem.
If you have hints where to look in the code and how to find out why it is not triggeren I'm happy to hear. Should I look into Nerixyz's repository or is the error in this repository? 🤔
The text was updated successfully, but these errors were encountered:
Lately I noticed that the event
pendingRequest
no longer is emitted when an instagram user sends a message to the bot for the first time (and the bot does not follow that user). This is the event I would like to capture:Could it be that instagram changed the event name or did an update? Is there any way to test this?
Here's my code snippet: this does not work (nothing is printed to the console at all, so I assume the event is not being emitted somehow):
I have a log from 2020-12-08 where this feature was still working. Just leaving this info here, maybe its usefull to find the problem.
If you have hints where to look in the code and how to find out why it is not triggeren I'm happy to hear. Should I look into Nerixyz's repository or is the error in this repository? 🤔
The text was updated successfully, but these errors were encountered: