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

Error bug when i use code invitecode group whatsapp #2256

Open
1 task done
sakha27pot opened this issue Jun 7, 2023 · 2 comments · May be fixed by #2642
Open
1 task done

Error bug when i use code invitecode group whatsapp #2256

sakha27pot opened this issue Jun 7, 2023 · 2 comments · May be fixed by #2642
Labels
bug Something isn't working

Comments

@sakha27pot
Copy link

sakha27pot commented Jun 7, 2023

Is there an existing issue for this?

  • 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 ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async ExecutionContext.evaluate (C:\users\root\BOT\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16)
at async Client.acceptInvite (C:\users\root\BOT\node_modules\whatsapp-web.js\src\Client.js:896:21)
at async Client. (C:\users\root\BOT\index.js:117:5)

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

@sakha27pot sakha27pot added the bug Something isn't working label Jun 7, 2023
@Fannn03
Copy link

Fannn03 commented Jun 24, 2023

i have a same issue

@Nurse1angeL
Copy link

same issue

@alechkos alechkos linked a pull request Dec 4, 2023 that will close this issue
7 tasks
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

Successfully merging a pull request may close this issue.

3 participants