whatsapp-web.js
whatsapp-web.js copied to clipboard
Error bug when i use code invitecode group whatsapp
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
Error bug when i use code invitecode group whatsapp
Expected behavior
Steps to Reproduce the Bug or Issue
Relevant Code
else if (message.body.startsWith(`${config.prefix}join`)) {
const inviteCode = message.body.split(' ')[1];
try {
await client.acceptInvite(inviteCode);
message.reply('Joined the group!');
} catch (e) `{`
console.log(e);
message.reply('That invite code seems to be invalid.');
}
}
Error: Evaluation failed: i
at ExecutionContext._evaluateInternal (C:\users\root\BOT\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19)
at runMicrotasks (
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
No, I am not using Multi Device
Environment
OS: [Windows] Phone OS: [Android] whatsapp-web.js version [1.19.3] WhatsApp Web version [2.2323.4]: Node.js Version [13.14.0]
Additional context
No response
i have a same issue
same issue