Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'messages' of undefined #12

Closed
Mr-KayJayDee opened this issue Aug 27, 2020 · 0 comments
Closed

TypeError: Cannot read property 'messages' of undefined #12

Mr-KayJayDee opened this issue Aug 27, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Mr-KayJayDee
Copy link

This error is emitted when i send a message to the bot (not a command)

Here is the full error.

(node:9644) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'messages' of undefined
    at C:\Users\minit\Desktop\CODING\JS\InstaBot\node_modules\@androz2091\insta.js\src\structures\Client.js:116:30
    at Array.forEach (<anonymous>)
    at C:\Users\minit\Desktop\CODING\JS\InstaBot\node_modules\@androz2091\insta.js\src\structures\Client.js:97:33
    at Array.forEach (<anonymous>)
    at InstaClient.handleRealtimeReceive (C:\Users\minit\Desktop\CODING\JS\InstaBot\node_modules\@androz2091\insta.js\src\structures\Client.js:96:25)
    at RealtimeClient.<anonymous> (C:\Users\minit\Desktop\CODING\JS\InstaBot\node_modules\@androz2091\insta.js\src\structures\Client.js:211:61)
    at RealtimeClient.emit (events.js:314:20)
    at SafeSubscriber._next (C:\Users\minit\Desktop\CODING\JS\InstaBot\node_modules\instagram_mqtt\dist\realtime\realtime.client.js:120:26)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)```
@Androz2091 Androz2091 added the bug Something isn't working label Aug 28, 2020
@Androz2091 Androz2091 changed the title UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'messages' of undefined TypeError: Cannot read property 'messages' of undefined Aug 28, 2020
@Androz2091 Androz2091 added this to the v1.4.0 milestone Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants