orkestral / venom

Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design architecture for WhatsApp.
https://orkestral.io
Apache License 2.0
6.06k stars 1.19k forks source link

TypeError: client.getAllGroups is not a function (after update 2.2.4) #601

Closed m0w4hhed closed 3 years ago

m0w4hhed commented 3 years ago

Environment

clovisdanielss commented 3 years ago

Try GetAllChatGroups from here

m0w4hhed commented 3 years ago

I've tried using this function, but the result is this:

Error: Evaluation failed: f
    at ExecutionContext._evaluateInternal (F:\NODE\WABOT\wobot-web\electron\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:217:19)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ExecutionContext.evaluate (F:\NODE\WABOT\wobot-web\electron\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:106:16)
Error: Evaluation failed: f
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ExecutionContext.evaluate (F:\NODE\WABOT\wobot-web\electron\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:106:16)

and i think this function is slower then client.getAllGroups, why?

jonalan7 commented 3 years ago

The getAllGroups() function has been changed to GetAllChatGroups() but she is in trouble! We will fix it in the next updates.

m0w4hhed commented 3 years ago

is the previous version (2.2.3) still save to use?

btw, thanks alot for the fix

jonalan7 commented 3 years ago

The problem was solved with a new update!