contact@nexoscreator.tech

WhatsApp Bot using baileys

This is a simple and powerful WhatsApp bot built using the Baileys library, an unofficial WhatsApp Web API for Node.js. It allows you to automate replies, handle user messages, and create intelligent bot logic.

Published on: 21/07/2025

GitHub RepoYouTube VideoYouTube Video

πŸ” Project Overview

⚠️ Disclaimer: This bot uses an unofficial API. It may violate WhatsApp’s Terms of Service and is not recommended for production or commercial use. Use at your own risk.

✨ Features

πŸ“¦ Requirements

πŸ“₯ Installation

1. Clone the repository

git clone https://github.com/nexoscreator/whatsapp-bot-baileys.git
cd whatsapp-bot-baileys

2. Install dependencies

npm install

3. Start the bot

node index.js

4. Scan the QR code

Open WhatsApp on your phone β†’ Menu β†’ Linked Devices β†’ Scan QR code from terminal.

πŸ’¬ Bot Logic

Right now, the bot handles the following:

You can modify and extend this behavior in index.js.

πŸ“Έ Media Support (Example)

await sock.sendMessage(from, {
  image: { url: 'https://example.com/image.jpg' },
  caption: 'Here is your image!'
});

🧠 Want to Add NLP?

You can integrate with:

☁️ Deployment

You can deploy your bot on platforms like:

⚠️ Disclaimer

This bot uses an unofficial WhatsApp API via Web scraping (like WhatsApp Web). Your number may be banned if used incorrectly. Do NOT use this bot for:

🀝 Contributing

We ❀️ contributions! Follow these steps to contribute:

  1. 🍴 Fork the repository
  2. 🌿 Create a new branch (git checkout -b feature/AmazingFeature)
  3. πŸ’Ύ Commit your changes (git commit -m 'Add some AmazingFeature')
  4. πŸš€ Push to the branch (git push origin feature/AmazingFeature)
  5. πŸ”ƒ Open a Pull Request

πŸ“– See our Contribution Guidelines for more details.

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.

πŸ“¬ Contact & Community

πŸ’¬ Join us on Discord: Click Here
🐦 Follow on Twitter: @nexoscreator
πŸ“§ Email: contact@nexoscreator.tech

If you find this project helpful, please consider starring ⭐ the repository or sponsoring πŸ’– on GitHub!

Created with ❀️ by @nexoscreator