Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

error when starting #223

Open
Alis-Dev-idn opened this issue Mar 24, 2021 · 9 comments
Open

error when starting #223

Alis-Dev-idn opened this issue Mar 24, 2021 · 9 comments

Comments

@Alis-Dev-idn
Copy link

✓ Authenticated
✓ WAPI Reinjected
✓ Client is ready
✓ Patches Installed: #####
✓ Client loaded in 9.861s
✓ 🚀 @open-wa ready for account: ####
[SERVER] Server Started!
TypeError: client.onGlobalParicipantsChanged is not a function
at start (/home/wabot/whatsapp-bot/index.js:24:16)
at /home/wabot/whatsapp-bot/index.js:51:21
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)

@kios19
Copy link

kios19 commented Apr 20, 2021

same here. did you find a solution?

@hacker45tech
Copy link

hacker45tech commented Apr 22, 2021 via email

@bennyJCc
Copy link

HAVE YOU FOUND THE SOLUTION YET?

@no-name-no-other-alias
Copy link

Same problem

@Danprogrammer1
Copy link

I had the same problem, I think this bot is no longer working. If you guys find a solution tell me!

@hacker45tech
Copy link

hacker45tech commented May 2, 2021 via email

@no-name-no-other-alias
Copy link

no-name-no-other-alias commented May 3, 2021

I figured it out, It has a typo.
It says Paricipants intead of Participants

TypeError: client.onGlobalParicipantsChanged is not a function
at start (/home/wabot/whatsapp-bot/index.js:24:16)
at /home/wabot/whatsapp-bot/index.js:51:21
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)

So you have to check and rewrite that word at those specific files.
In this case, index.js and apparently also task_queues.js

@hacker45tech
Copy link

hacker45tech commented May 3, 2021 via email

@kartikey15
Copy link

Did it work? Fixing the typo...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants