Skip to content

Latest commit

ย 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

WP-Bot ๐Ÿค–

License GitHub issues GitHub stars

A powerful and feature-rich WhatsApp automation bot built with Node.js and the WhatsApp Web API. Designed for both personal and business use, offering extensive customization and intelligent message handling.

WP-Bot Preview

๐Ÿ“‹ Prerequisites

Requirement Version Description
Node.js โ‰ฅ 14.x Runtime environment
npm/yarn Latest Package manager
Chrome/Chromium Latest For WhatsApp Web
Active WhatsApp Account - Phone number verified

โœจ Features

Category Features
Message Handling โ€ข Auto-replies with AI integration
โ€ข Custom command handling
โ€ข Message filtering and spam protection
โ€ข Multi-language support
Media Management โ€ข Image/video processing
โ€ข Document handling
โ€ข Voice message transcription
โ€ข Sticker creation
Automation โ€ข Scheduled messages
โ€ข Welcome messages
โ€ข Automated responses
โ€ข Batch messaging
Group Features โ€ข Anti-spam protection
โ€ข Member management
โ€ข Activity tracking
โ€ข Poll creation

๐Ÿ“ธ Preview

Bot Menu

Core Features Preview

Chat Interface Commands List Group Controls
Chat Interface Command System Group Controls

Special Features

Media Features AI Integration
Media Processing AI Integration

๐Ÿ“ฑ Bot Menu

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
     ๐Ÿค– *MAUSAM'S-MD BOT*  
โ”—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”›

โ•ญโ”€ใ€” โš™๏ธ *Bot Information* ใ€•โ”€โ•ฎ
โ”‚ ๐Ÿง  *Name* : WP-Bot  
โ”‚ ๐Ÿš€ *Version* : 2.2.0  
โ”‚ ๐Ÿ‘จโ€๐Ÿ’ป *Developer* : Mausam Kar  
โ”‚ ๐ŸŒ *Portfolio* : mausam03.vercel.app  
โ”‚ โญ *Stars* : 2  ๐Ÿด *Forks* : 0  
โ”‚ ๐Ÿ’พ *Size* : 0.63 MB  
โ”‚ โฑ๏ธ *Uptime* : 1h 27m 15s  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿค– Command Categories

๐ŸŒ General Commands
โ•ญโ”€ใ€” ๐ŸŒ *GENERAL COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .help / .menu  
โ”‚ โžค .info / .botinfo  
โ”‚ โžค .ping  
โ”‚ โžค .uptime  
โ”‚ โžค .donate  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ“š Media Commands
โ•ญโ”€ใ€” ๐Ÿ“š *MEDIA COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .image / .img  
โ”‚ โžค .video / .vid  
โ”‚ โžค .audio / .voice  
โ”‚ โžค .sticker / .stickergif  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ› ๏ธ Utility Commands
โ•ญโ”€ใ€” ๐Ÿ› ๏ธ *UTILITY COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .calc / .calculate  
โ”‚ โžค .convert / .currency  
โ”‚ โžค .weather  
โ”‚ โžค .news  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ”ง Admin Commands
โ•ญโ”€ใ€” ๐Ÿ”ง *ADMIN COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .ban  
โ”‚ โžค .unban  
โ”‚ โžค .mute  
โ”‚ โžค .unmute  
โ”‚ โžค .kick  
โ”‚ โžค .promote  
โ”‚ โžค .demote  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿค– Bot Owner Commands
โ•ญโ”€ใ€” ๐Ÿค– *BOT OWNER COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .eval / .exec  
โ”‚ โžค .restart  
โ”‚ โžค .shutdown  
โ”‚ โžค .setprefix  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ“Š Bot Features

Feature Description
Auto-replies Respond to messages automatically using AI
Custom commands Define your own commands for specific tasks
Message scheduling Schedule messages to be sent at later times
Group management Manage group settings, members, and activities
Media processing Handle images, videos, and documents intelligently
Spam protection Protect against spam messages and users
Multi-language support Operate in multiple languages based on user preference
Activity tracking Monitor and report user activity in groups
Poll creation Create and manage polls within groups

๐Ÿš€ Installation

git clone https://github.com/Mausam5055/WP-Bot.git
cd WP-Bot
npm install

๐Ÿ“ Project Structure

wp-bot/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ commands/
โ”‚   โ”œโ”€โ”€ handlers/
โ”‚   โ”œโ”€โ”€ utils/
โ”‚   โ””โ”€โ”€ index.js
โ”œโ”€โ”€ config/
โ”‚   โ””โ”€โ”€ config.js
โ”œโ”€โ”€ assets/
โ””โ”€โ”€ tests/

โš™๏ธ Configuration

Basic Configuration

Parameter Type Description
TOKEN string Your WhatsApp API token
PREFIX string Command prefix for bot
DEBUG boolean Enable debug mode

Advanced Settings

Parameter Type Default Description
MAX_RETRIES number 3 Connection retry attempts
MESSAGE_QUEUE_SIZE number 100 Max queued messages
ALLOWED_MIME_TYPES string[] ['image/*'] Supported file types
LOG_LEVEL string 'info' Logging verbosity

๐Ÿ”ง API Reference

Command Structure

{
  name: string,
  description: string,
  usage: string,
  execute: async (msg, args) => void
}

Event Handlers

bot.on('message', callback)
bot.on('group-join', callback)
bot.on('media-receive', callback)

โ— Troubleshooting

Issue Solution
Connection Failed 1. Check internet connection
2. Verify WhatsApp session
3. Clear browser cache
Authentication Error 1. Rescan QR code
2. Check phone connection
3. Update credentials
Message Not Sent 1. Check rate limits
2. Verify recipient number
3. Check message format

๐Ÿ“Š Performance

Metric Value
Message Processing ~100ms
Max Concurrent Users 1000+
Memory Usage 200-500MB
CPU Usage 10-30%

๐Ÿค Contributing

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Development Setup

npm install
npm run dev
npm test

๐Ÿ“ License

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

๐Ÿ“ง Contact & Support

Type Link
Portfolio mausam03.vercel.app
GitHub @Mausam5055

โ•ญโ”€ใ€” ๐Ÿ”ฎ About Developer ใ€•โ”€โ•ฎ โ”‚ ๐Ÿ‘ค Developer : Mausam Kar
โ”‚ ๐Ÿ’ฌ GitHub : @Mausam5055
โ”‚ ๐ŸŒ Portfolio : mausam03.vercel.app
โ”‚ ๐Ÿ–ค Thank You for Using!
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Project Link: https://github.com/Mausam5055/WP-Bot โ”‚ ๐Ÿ–ค Thank You for Using!
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Project Link: https://github.com/Mausam5055/WP-Bot

WP-Bot ๐Ÿค–

License GitHub issues GitHub stars

A powerful and feature-rich WhatsApp automation bot built with Node.js and the WhatsApp Web API. Designed for both personal and business use, offering extensive customization and intelligent message handling.

WP-Bot Preview

๐Ÿ“‹ Prerequisites

Requirement Version Description
Node.js โ‰ฅ 14.x Runtime environment
npm/yarn Latest Package manager
Chrome/Chromium Latest For WhatsApp Web
Active WhatsApp Account - Phone number verified

โœจ Features

Category Features
Message Handling โ€ข Auto-replies with AI integration
โ€ข Custom command handling
โ€ข Message filtering and spam protection
โ€ข Multi-language support
Media Management โ€ข Image/video processing
โ€ข Document handling
โ€ข Voice message transcription
โ€ข Sticker creation
Automation โ€ข Scheduled messages
โ€ข Welcome messages
โ€ข Automated responses
โ€ข Batch messaging
Group Features โ€ข Anti-spam protection
โ€ข Member management
โ€ข Activity tracking
โ€ข Poll creation

๐Ÿ“ธ Preview

Bot Menu

Core Features Preview

Chat Interface Commands List Group Controls
Chat Interface Command System Group Controls

Special Features

Media Features AI Integration
Media Processing AI Integration

๐Ÿ“ฑ Bot Menu

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
     ๐Ÿค– *MAUSAM'S-MD BOT*  
โ”—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”›

โ•ญโ”€ใ€” โš™๏ธ *Bot Information* ใ€•โ”€โ•ฎ
โ”‚ ๐Ÿง  *Name* : WP-Bot  
โ”‚ ๐Ÿš€ *Version* : 2.2.0  
โ”‚ ๐Ÿ‘จโ€๐Ÿ’ป *Developer* : Mausam Kar  
โ”‚ ๐ŸŒ *Portfolio* : mausam03.vercel.app  
โ”‚ โญ *Stars* : 2  ๐Ÿด *Forks* : 0  
โ”‚ ๐Ÿ’พ *Size* : 0.63 MB  
โ”‚ โฑ๏ธ *Uptime* : 1h 27m 15s  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿค– Command Categories

๐ŸŒ General Commands
โ•ญโ”€ใ€” ๐ŸŒ *GENERAL COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .help / .menu  
โ”‚ โžค .info / .botinfo  
โ”‚ โžค .ping  
โ”‚ โžค .uptime  
โ”‚ โžค .donate  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ“š Media Commands
โ•ญโ”€ใ€” ๐Ÿ“š *MEDIA COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .image / .img  
โ”‚ โžค .video / .vid  
โ”‚ โžค .audio / .voice  
โ”‚ โžค .sticker / .stickergif  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ› ๏ธ Utility Commands
โ•ญโ”€ใ€” ๐Ÿ› ๏ธ *UTILITY COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .calc / .calculate  
โ”‚ โžค .convert / .currency  
โ”‚ โžค .weather  
โ”‚ โžค .news  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ”ง Admin Commands
โ•ญโ”€ใ€” ๐Ÿ”ง *ADMIN COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .ban  
โ”‚ โžค .unban  
โ”‚ โžค .mute  
โ”‚ โžค .unmute  
โ”‚ โžค .kick  
โ”‚ โžค .promote  
โ”‚ โžค .demote  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿค– Bot Owner Commands
โ•ญโ”€ใ€” ๐Ÿค– *BOT OWNER COMMANDS* ใ€•โ”€โ•ฎ
โ”‚ โžค .eval / .exec  
โ”‚ โžค .restart  
โ”‚ โžค .shutdown  
โ”‚ โžค .setprefix  
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ“Š Bot Features

Feature Description
Auto-replies Respond to messages automatically using AI
Custom commands Define your own commands for specific tasks
Message scheduling Schedule messages to be sent at later times
Group management Manage group settings, members, and activities
Media processing Handle images, videos, and documents intelligently
Spam protection Protect against spam messages and users
Multi-language support Operate in multiple languages based on user preference
Activity tracking Monitor and report user activity in groups
Poll creation Create and manage polls within groups

๐Ÿš€ Installation

git clone https://github.com/Mausam5055/WP-Bot.git
cd WP-Bot
npm install

๐Ÿ“ Project Structure

wp-bot/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ commands/
โ”‚   โ”œโ”€โ”€ handlers/
โ”‚   โ”œโ”€โ”€ utils/
โ”‚   โ””โ”€โ”€ index.js
โ”œโ”€โ”€ config/
โ”‚   โ””โ”€โ”€ config.js
โ”œโ”€โ”€ assets/
โ””โ”€โ”€ tests/

โš™๏ธ Configuration

Basic Configuration

Parameter Type Description
TOKEN string Your WhatsApp API token
PREFIX string Command prefix for bot
DEBUG boolean Enable debug mode

Advanced Settings

Parameter Type Default Description
MAX_RETRIES number 3 Connection retry attempts
MESSAGE_QUEUE_SIZE number 100 Max queued messages
ALLOWED_MIME_TYPES string[] ['image/*'] Supported file types
LOG_LEVEL string 'info' Logging verbosity

๐Ÿ”ง API Reference

Command Structure

{
  name: string,
  description: string,
  usage: string,
  execute: async (msg, args) => void
}

Event Handlers

bot.on('message', callback)
bot.on('group-join', callback)
bot.on('media-receive', callback)

โ— Troubleshooting

Issue Solution
Connection Failed 1. Check internet connection
2. Verify WhatsApp session
3. Clear browser cache
Authentication Error 1. Rescan QR code
2. Check phone connection
3. Update credentials
Message Not Sent 1. Check rate limits
2. Verify recipient number
3. Check message format

๐Ÿ“Š Performance

Metric Value
Message Processing ~100ms
Max Concurrent Users 1000+
Memory Usage 200-500MB
CPU Usage 10-30%

๐Ÿค Contributing

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Development Setup

npm install
npm run dev
npm test

๐Ÿ“ License

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

๐Ÿ“ง Contact & Support

Type Link
Portfolio mausam03.vercel.app
GitHub @Mausam5055

โ•ญโ”€ใ€” ๐Ÿ”ฎ About Developer ใ€•โ”€โ•ฎ โ”‚ ๐Ÿ‘ค Developer : Mausam Kar
โ”‚ ๐Ÿ’ฌ GitHub : @Mausam5055
โ”‚ ๐ŸŒ Portfolio : mausam03.vercel.app
โ”‚ ๐Ÿ–ค Thank You for Using!
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Project Link: https://github.com/Mausam5055/WP-Bot โ”‚ ๐Ÿ–ค Thank You for Using!
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Project Link: https://github.com/Mausam5055/WP-Bot

About

WhatsApp automation bot built using Baileys library for Node.js. Features include automated responses, command handling, message scheduling, group management, media handling, and custom chatbot logic for enhanced WhatsApp functionality.

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages