The most powerful and feature-rich WhatsApp bot built with Baileys MD
Features โข Installation โข Configuration โข Commands โข Deployment โข Support
- Multi-Device Support - Works with WhatsApp's latest multi-device feature
- 250+ Commands - Extensive command library for all your needs
- Modular Plugin System - Easy to add/remove functionality
- Database Integration - MongoDB for persistent storage
- Web Dashboard - Beautiful web interface for management
| Category | Commands | Description |
|---|---|---|
| ๐ฅ Downloader | ytmp3, ytmp4, tiktok, instagram, facebook |
Download media from any platform |
| ๐ต Audio | bass, nightcore, slow, speed, reverse |
Audio manipulation tools |
| ๐ผ๏ธ Images | sticker, toimg, removebg, blur, enhance |
Image processing & editing |
| ๐ค AI | gpt, dalle, imagine, chat, translate |
AI-powered features |
| ๐ฅ Groups | kick, add, promote, demote, mute, antilink |
Group management |
| ๐ฎ Games | tictactoe, truth, dare, quiz, slots |
Fun games to play |
| ๐ง Tools | ping, runtime, speed, info, menu |
Utility commands |
| ๐ค Owner | broadcast, ban, unban, block, eval |
Owner-only commands |
- โ Anti-Delete - Recover deleted messages
- โ Auto-Read Status - Automatically view status updates
- โ Auto-React Status - React to status with emoji
- โ Welcome/Goodbye - Custom group greetings
- โ Anti-Link - Protect groups from spam links
- โ Anti-Spam - Rate limiting protection
- โ Always Online - Keep bot presence active
- โ Auto-Typing - Show typing indicator
- Node.js 18+ (Recommended: Node.js 20)
- MongoDB database
- Git
# Clone the repository
git clone https://github.com/Itxxwasi/WASI-MD-V7.git
cd WASI-MD-V7
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env with your settings
# Start the bot
npm start# Build and run with Docker
docker build -t wasi-md-v7 .
docker run -d --name wasi-bot -p 3000:3000 --env-file .env wasi-md-v7
# Or use Docker Compose
docker-compose up -dCreate a .env file in the root directory:
# Required Settings
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/wasimd
SESSION_ID=your_session_name
OWNER_NUMBER=923001234567
# Bot Settings
PREFIX=.
BOT_NAME=WASI-MD V7
MODE=public
# Features
AUTO_READ=false
AUTO_TYPING=false
ALWAYS_ONLINE=true
AUTO_STATUS_VIEW=true
AUTO_STATUS_REACT=true
# Anti-Features
ANTI_DELETE=true
ANTI_LINK=false
ANTI_SPAM=true// config.js - Main configuration
module.exports = {
bot: {
name: process.env.BOT_NAME || 'WASI-MD V7',
prefix: process.env.PREFIX || '.',
mode: process.env.MODE || 'public'
},
owner: {
number: process.env.OWNER_NUMBER,
name: 'MR WASI'
},
database: {
uri: process.env.MONGODB_URI
}
}| Command | Description | Usage |
|---|---|---|
.menu |
Show all commands | .menu |
.help |
Get help for a command | .help <command> |
.ping |
Check bot latency | .ping |
.runtime |
Bot uptime | .runtime |
.owner |
Contact owner | .owner |
| Command | Description | Usage |
|---|---|---|
.ytmp3 |
Download YouTube audio | .ytmp3 <url/search> |
.ytmp4 |
Download YouTube video | .ytmp4 <url/search> |
.tiktok |
Download TikTok video | .tiktok <url> |
.instagram |
Download Instagram media | .instagram <url> |
.facebook |
Download Facebook video | .facebook <url> |
.twitter |
Download Twitter media | .twitter <url> |
.spotify |
Download Spotify track | .spotify <url/search> |
| Command | Description | Usage |
|---|---|---|
.kick |
Remove member | .kick @user |
.add |
Add member | .add 923001234567 |
.promote |
Make admin | .promote @user |
.demote |
Remove admin | .demote @user |
.mute |
Mute group | .mute |
.unmute |
Unmute group | .unmute |
.antilink |
Toggle anti-link | .antilink on/off |
.welcome |
Set welcome message | .welcome <text> |
.goodbye |
Set goodbye message | .goodbye <text> |
| Command | Description | Usage |
|---|---|---|
.gpt |
Chat with GPT | .gpt <question> |
.dalle |
Generate AI image | .dalle <prompt> |
.imagine |
Creative AI art | .imagine <prompt> |
.translate |
Translate text | .translate <lang> <text> |
- Click the deploy button
- Fill in the environment variables
- Deploy and wait for build
- Scale the worker dyno
- Connect your GitHub repository
- Add environment variables
- Deploy!
- Create a new Web Service
- Connect this repository
- Add environment variables
- Deploy!
# Update system
sudo apt update && sudo apt upgrade -y
# Install Node.js 20
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
# Install PM2
npm install -g pm2
# Clone and setup
git clone https://github.com/Itxxwasi/WASI-MD-V7.git
cd WASI-MD-V7
npm install
# Start with PM2
pm2 start npm --name "wasi-md" -- start
pm2 save
pm2 startupWASI-MD-V7/
โโโ lib/
โ โโโ database.js # MongoDB connection
โ โโโ message-handler.js # Message processing
โ โโโ plugin-loader.js # Plugin system
โโโ plugins/
โ โโโ menu.js # Menu command
โ โโโ ping.js # Ping command
โโโ config.js # Configuration
โโโ loader.js # Plugin loader
โโโ start.js # Entry point
โโโ package.json # Dependencies
โโโ Dockerfile # Docker config
โโโ docker-compose.yml # Docker compose
โโโ heroku.yml # Heroku config
โโโ app.json # Heroku app config
โโโ .env.example # Environment template
Create a new file in plugins/ directory:
// plugins/example.js
module.exports = {
name: 'example',
description: 'Example command',
usage: '.example <text>',
category: 'tools',
async execute(client, message, args) {
const text = args.join(' ')
await message.reply(`You said: ${text}`)
}
}module.exports = {
name: 'commandname', // Command trigger
aliases: ['cmd', 'c'], // Alternative triggers
description: 'What it does',
usage: '.cmd <args>',
category: 'category',
cooldown: 5, // Seconds
ownerOnly: false,
groupOnly: false,
adminOnly: false,
async execute(client, message, args, context) {
// Your code here
}
}# Pull latest changes
git pull origin main
# Install new dependencies
npm install
# Restart the bot
pm2 restart wasi-mdBot not connecting:
# Check logs
pm2 logs wasi-md
# Restart
pm2 restart wasi-mdMongoDB connection failed:
- Verify your
MONGODB_URIis correct - Check if IP is whitelisted in MongoDB Atlas
Session expired:
- Delete the session folder
- Restart and scan new QR code
Commands not working:
- Check if prefix is correct
- Verify bot mode (public/private)
- Report bugs via GitHub Issues
- Feature requests welcome
- Pull requests appreciated
This project is licensed under the MIT License - see the LICENSE file for details.
This bot is for educational purposes only. The developer is not responsible for any misuse. Use responsibly and follow WhatsApp's Terms of Service.
โญ Star this repo if you like it! โญ
ยฉ 2024-2026 WASI-MD-V7 | All Rights Reserved