Skip to content

Wandabot is a Node.js-powered WhatsApp bot that offers a range of services, from weather and news updates to scheduling appointments and playing games. It uses NLP and machine learning to understand user input and is easy to use, making it ideal for chat-based communication.

Notifications You must be signed in to change notification settings

Ngwangshalom/WandaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

ChatGPT for WhatsApp using OpenAI API(gpt-3.5-turbo) and whatsapp-web.js, written in JS using Node.js

NOTE: I can't guarantee you will not be blocked by using this method, although it has worked for me. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.

Prerequisites

  • npm
npm install npm@latest -g

Installation

  1. Clone this Repo:

    git clone https://github.com/iamkhalid2/WhatsAppGPT.git
  2. Install Dependencies:

    npm install
  3. Create a ".env" file

  4. Open file .env in a text editor and insert the following environment variable which holds the API key from your OpenAI account:

    OPENAI_API_KEY="INSERT YOUR OPENAI API KEY HERE"
  5. To run the program you need to enter the following command on the command line:

    node index.js
  6. The output on the command line should then show the QR code correctly, Link your WhatsApp through the code.

  7. Now the Chatbot is running and listing for messages. Use the # sign and write question as a message in WhatsApp. The response is then generated by OpenAI and received as a response to the original message automatically.

    FEATURES OF WANDA BOT

    ✅ Auto reply to messages that start with # both private and groups ✅ Solve math Questions ✅ Answer MCQS ✅ Write essays ✅ Check remaining number of messages left ✅ Answer general questions ✅ Upgrade Plan ✅ Delete or unsubscribe plan X Send Money X Receive Money X Withdraw Money X Check ballance X send payments links X Send SMS X Send Emails/ X Send Feedbacks X Message a number on whatsapp

About

Wandabot is a Node.js-powered WhatsApp bot that offers a range of services, from weather and news updates to scheduling appointments and playing games. It uses NLP and machine learning to understand user input and is easy to use, making it ideal for chat-based communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published