Closed b6sh closed 2 years ago
Thank you for joining our community, happy. We are currently fixing this bug, our new version will be released soon.
Working with Love!
This issue is stale because it has been open for 30 days with no activity.
I also couldn't access the GetMe function, could have been useful to fix another issue.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Description
I cant use the fucntion (getMe()), it reutrns an error
Environment
Steps to Reproduce
client.getMe()
to the start functionLog Output
Code
`// Supports ES6 // import { create, Whatsapp } from 'venom-bot'; const venom = require('venom-bot');
venom .create({ session: 'session-name', //name of session multidevice: true // for version not multidevice use false.(default: true) }) .then((client) => start(client)) .catch((erro) => { console.log(erro); });
function start(client) { client.getMe() .then(res => console.log(res)) .catch(err => console.error("ERROR", err)) }`