Androz2091 / Androz2091/insta.js
DM pending requests event not emitted
- Ngôn ngữ chính
- JavaScript
- Star
- 142
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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):
```js
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](https://github.com/Nerixyz/instagram_mqtt) or is the error in this repository? 🤔
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.