FKLC / WhatsAppToDiscord

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.
https://fklc.github.io/WhatsAppToDiscord/
MIT License
252 stars 74 forks source link

Connection Failure #142

Closed stnKrisna closed 1 year ago

stnKrisna commented 1 year ago

Describe the bug Authentication to whatsapp always fails.

To Reproduce Steps to reproduce the behavior:

  1. Use the bot

Expected behavior Auth should work.

Logs If needed add your logs.txt after redacting any private information.

Platform

Additional context Original package now deprecated. Repo has been taken down: https://www.npmjs.com/package/@adiwajshing/baileys Use new package instead: https://github.com/WhiskeySockets/Baileys

According to the new repo (https://github.com/WhiskeySockets/Baileys#connecting-multi-device-recommended)

This is done as WA seems to have completely dropped support for the legacy version.

For those who needs a quick fix, you can download the latest release and replace the baileys package under node_modules/@adiwajshing with the content of the release archive they provided. It looks like its backwards compatible with the one this project uses.

FKLC commented 1 year ago

Please check if the latest version is working.