ameybh / ww-wra

Whatsapp Web bot to query and get results to and from WolframAlpha API
5 stars 2 forks source link

Canvas not loading after QR Scan #1

Closed KrishFX1 closed 3 years ago

KrishFX1 commented 3 years ago

I am getting the following error after scanning QR code in terminal....I first ran npm install then npm start and it seems that QR is successfully scanned but canvas is not loading. image And i have literally no experience in JS so i am not able to understand even a single line😢 Sorry For that

KrishFX1 commented 3 years ago

I got that, I guess....I had joined multi device beta testing of WA...that's why it was not working....and when I left beta and tested again....The error didn't come but only Client is ready came written😅 and nothing is happening image

KrishFX1 commented 3 years ago

Do I have to edit those lines that U have commented?

ameybh commented 3 years ago

Hello @KrishnaBros2, The bot is up and running once you get "Client is ready!" message. Did you try sending a bot command on WhatsApp? Try !b hello and you should get a response in WhatsApp. Let me know otherwise alongwith any errors that are shown in the console.

I have updated whatsapp-web.js to 1.14.0 right now. Pull the new changes and install the updated packages.

KrishFX1 commented 3 years ago

Wow...Thanks for respoding and now it works....Thank You for making it🤩...By the way what are the commands that it responds to?

ameybh commented 3 years ago

You're welcome. You can try out any of the examples from https://www.wolframalpha.com/examples/. 😄

KrishFX1 commented 3 years ago

No not like that....one of my friend also used this and he used commands like !device (which tells the device of a person who meesaged ) , !joke and !insult...But when I am using these, there's no response

KrishFX1 commented 3 years ago

Ohh its like u made another package for that...ww-wra-goog this one....But I wanted to ask why different ones😅

ameybh commented 3 years ago

Oh, about that, I wrote a article describing basic use of a WhatsApp bot with Wolfram alpha API. This repository is simply the minimal code for that functionality. Otherwise, you can use ww-wra-goog if you'd like to try more features.