WhatsApp GPT Bot is a chatbot script designed for use on the WhatsApp platform. It is built using Node.js and whatsapp-web.js library.
┌ *MENU*
│ ◦ ai
│ ◦ gptgo
│ ◦ gpt4
│ ◦ c-ai
│ ◦ dalle
│ ◦ bard
│ ◦ bardimg
│ ◦ bing
│ ◦ bimg
│ ◦ text2img
│ ◦ sticker
│ ◦ remini
│ ◦ toanime
│ ◦ togta
│ ◦ tozombie
│ ◦ stablediffusion
│ ◦ removebg
│ ◦ tourl
│ ◦ info
│ ◦ groups
│ ◦ menu
│ ◦ snapshot
└
Before you start, ensure that you have the following installed on your system:
- Node.js
- Puppeteer
- Chrome
- Npm (Node Package Manager)
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
cat /etc/apt/sources.list.d/google-chrome.list
- Clone or download the repository from here.
git clone https://github.com/BOTCAHX/whatsapp-gpt
- Open your terminal and navigate to the project directory.
- Run the following command to install the required dependencies:
npm install
To start the WhatsApp GPT Bot, run the following command in your terminal:
node bot.js
WhatsApp GPT Bot utilizes the WhatsApp Web API to connect to a WhatsApp account. It sends and receives messages using the WhatsApp account, allowing it to provide chatbot functionalities.
When a new message is received, the bot uses the message content as an input to the GPT-3 model. The generated response from the model is then sent back as a reply to the sender.
Contributions are welcome! If you find any bugs or want to enhance the features of the bot, feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.