Skip to content

Latest commit

 

History

History
74 lines (55 loc) · 3.08 KB

README.md

File metadata and controls

74 lines (55 loc) · 3.08 KB

WHATSAPP AI BOT

WhatsApp Bot

This is a source code to build a WhatsApp bot using AIs and Node.js. The bot is capable of understanding natural language and providing information on various topics. It can be used to answer questions, provide advice, and even have conversations with users. With this source code, you can create a powerful bot that can be used for a variety of purposes.

Bot Commands

Here is the available commands of bot.

menu - Get commands list of bot.
alive - Check bot is alive or not.
ping - Check reply speed of bot.
gpt - Chat with GPT-3.5 language model of OpenAI.
bard - Chat with GoogleAI language model.
mzn - Chat with MZN AI language model.
trt - Translate to another language.
sc - Get script of bot.

API KEY

Read this documentation: https://github.com/mznking/WA-AIBot/blob/main/API_KEY.MD

Pairing Code

  • Visit this website and enter your whatsapp number and enter the code to your whatsapp account on Linked Devices.

Deploy Bot

1. Deploy to Replit

  • Scan QR Code on your WhatsApp by Replit Console!

  • Use uptimerobot to bot work for 24×7 without any restrictions.

3. Deploy to Railway

Deploy on Railway

2. Deploy to Termux

apt update
apt upgrade
pkg update && pkg upgrade
pkg install git -y
pkg install git -y
pkg install nodejs -y 
git clone https://github.com/mznking/WA-AIBot
cd WA-AIBot
npm install
npm start
  • Scan QR Code on your WhatsApp by Termux Console!

License

This repository is licensed under the MIT LICENSE.