Skip to content

sumon9836/NAYAN-WHATSAPP-BOT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Nayan Bot


Requirements

  • Node.js 20 or higher

🚀 Steps to Deploy

Step 1: Fork the Repository

Click the button below to fork the Nayan WhatsApp Bot repository to your GitHub account:


Step 2: Deploy Now

For further customization and setup guidance, click the button below:


Join Us


command function

config:

permission: {
    permission: 0: "All users",
    permission: 2: "Bot administrators only",
    permission: 3: "Bot administrators and group administrators",
}
prefix: true (only bot prefix work)
prefix: false (no prefix work)
prefix: 'both' (prefix nonprefix both work)

🛠️ Setup & Installation

Prerequisites

  • Node.js installed on your system
  • Git installed (for cloning the repository)

Step-by-Step Setup

  1. Clone the repository:

    git clone https://github.com/MOHAMMAD-NAYAN/NAYAN-WHATSAPP-BOT.git
    cd NAYAN-WHATSAPP-BOT
  2. Install the dependencies:

    npm install
  3. Run the bot:

    node index.js

Start the Pair Code Generator Server

visit:

https://nayan-whatsapp-bot-paircode.onrender.com

The server provides Pair Code and QR Code login options.


Generate Pair Code

  1. Open your browser and visit:
https://nayan-whatsapp-bot-paircode.onrender.com
  1. Ensure Pair Code mode is selected (toggle at top).

  2. Enter your WhatsApp number with country code, e.g.:

88016152*****
  1. Click Generate Pair Code.

  2. Copy the pair code safely.
    ⚠️ Do not share this code with anyone.


5️⃣ Save creds.json

After pairing, the server will generate a creds.json file.

  1. Download creds.json.

  2. Place it in the session folder of your bot:

NAYAN-WHATSAPP-BOT/session/creds.json

⚠️ This file contains your WhatsApp credentials. Keep it safe!


About

WhatsApp bot Created by Mohammad Nayan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%