๐ฏ Built with โค๏ธ by Ilom | Powered by NexusCoders
๐ A next-generation WhatsApp bot featuring cutting-edge AI integration, stunning canvas graphics, advanced economy system, comprehensive admin tools, and enterprise-grade security. Experience automation like never before!
๐ Quick Deploy โข โจ Features โข ๐ง Installation โข ๐ Commands โข ๐ API โข ๐ฌ Support
|
|
|
๐ Recommended 24/7 Uptime |
โก Fast Auto Deploy |
๐ฏ Reliable Free Tier |
๐ช Classic Enterprise |
๐ง Dev Mode Instant Test |
| Component | Requirement | Status |
|---|---|---|
| Node.js | 20.0 or higher | โ Required |
| MongoDB | 4.4 or higher | ๐ก Optional |
| WhatsApp Account | Any | โ Required |
| Memory | 512MB+ | โ Recommended |
| Storage | 1GB+ | โ Recommended |
| Processor | 1 vCPU+ | โ Recommended |
| Internet | Stable Connection | โ Required |
๐ Koyeb Deployment (Recommended)
1๏ธโฃ Fork this repository to your GitHub account
2๏ธโฃ Create Koyeb account at koyeb.com
3๏ธโฃ Deploy from GitHub:
- Click "Create App"
- Select "GitHub" as source
- Choose your forked repository
- Koyeb will auto-detect settings from
koyeb.yaml
4๏ธโฃ Set Environment Variables:
SESSION_ID=your_session_id_here
OWNER_NUMBERS=your_phone_number
PREFIX=.
BOT_NAME=Amazing Bot5๏ธโฃ Optional - Add MongoDB:
MONGODB_URL=mongodb+srv://username:[email protected]/botdb6๏ธโฃ Deploy - Click "Deploy" and wait 2-3 minutes
โ Done! Your bot is now live 24/7
Note: The bot works perfectly without MongoDB - it will use temporary data storage.
๐ Railway Deployment
1๏ธโฃ Deploy to Railway:
- Click the Railway badge above
- Connect your GitHub account
- Select this repository
2๏ธโฃ Environment Variables:
- Railway will use settings from
railway.toml - Add required variables in Railway dashboard:
SESSION_ID=your_session_id
OWNER_NUMBERS=your_number3๏ธโฃ Database (Optional):
- Railway offers free PostgreSQL/MongoDB
- Add database plugin from Railway dashboard
- Connection URL is auto-injected
4๏ธโฃ Deploy:
- Railway auto-deploys on git push
- Check deployment logs for QR code
โ Production Ready!
๐จ Render Deployment
1๏ธโฃ Create Render Account at render.com
2๏ธโฃ New Web Service:
- Connect GitHub repository
- Render auto-detects from
render.yaml - Set environment variables:
SESSION_ID=your_session_id
OWNER_NUMBERS=your_phone_number3๏ธโฃ Free MongoDB (Optional):
- Use MongoDB Atlas free tier
- Or Render's managed database
4๏ธโฃ Deploy:
- Click "Create Web Service"
- Wait for build to complete
โ Live in minutes!
๐ฃ Heroku Deployment
1๏ธโฃ Prerequisites:
- Heroku CLI installed
- Git initialized in project
2๏ธโฃ Deploy Commands:
heroku login
heroku create amazing-bot-app
git push heroku main3๏ธโฃ Set Config Vars:
heroku config:set SESSION_ID="your_session_id"
heroku config:set OWNER_NUMBERS="your_number"
heroku config:set PREFIX="."4๏ธโฃ Optional MongoDB:
heroku addons:create mongolab:sandbox5๏ธโฃ Check Logs:
heroku logs --tailโ Deployed!
๐ป Replit Deployment (Development)
1๏ธโฃ Import to Replit:
- Click "Import from GitHub"
- Paste repository URL
- Replit auto-configures from
replit.md
2๏ธโฃ Environment Secrets:
- Click "Secrets" in sidebar
- Add:
SESSION_ID = your_session_id
OWNER_NUMBERS = your_number
3๏ธโฃ Run:
- Click "Run" button
- Bot starts automatically
- Scan QR if no SESSION_ID set
โ Perfect for testing!
Note: Replit works great without database - data is temporary until you add MongoDB URL.
| Requirement | Status | Download |
|---|---|---|
| Node.js 20+ | โ Required | Download |
| Git | โ Required | Download |
| FFmpeg | ๐ก Optional | Download |
| MongoDB | ๐ก Optional | MongoDB Atlas |
Windows Users: For shell scripts (backup, update, etc.), use Git Bash or WSL. Alternatively, run commands manually from the scripts.
git clone https://github.com/NexusCoders-cyber/Amazing-Bot-.git
cd Amazing-Bot-
npm run setupThis will:
- โ Check Node.js version
- โ Install all dependencies
- โ Create directory structure
- โ Generate .env from template
- โ Verify required binaries
git clone https://github.com/NexusCoders-cyber/Amazing-Bot-.git
cd Amazing-Bot-
npm install
cp .env.example .env
nano .env
npm startCreate .env file with these required settings:
SESSION_ID=Ilom~base64_encoded_session_here
OWNER_NUMBERS=1234567890,9876543210
PREFIX=.
BOT_NAME=Amazing Bot
MONGODB_URL=mongodb+srv://user:[email protected]/botdb
DATABASE_ENABLED=true
OPENAI_API_KEY=sk-your-openai-api-key-here
GEMINI_API_KEY=your-google-gemini-api-key
OPENAI_MODEL=gpt-3.5-turbo
ENCRYPTION_KEY=your-secure-encryption-key-min-32-chars
JWT_SECRET=your-jwt-secret-key-here
SESSION_SECRET=your-session-secret-here
PUBLIC_MODE=true
SELF_MODE=false
AUTO_READ=false
AUTO_TYPING=true
MARK_ONLINE=true
MAX_CONCURRENT_COMMANDS=50
COMMAND_COOLDOWN=3
RATE_LIMIT_REQUESTS=20
CACHE_SIZE=1000Method 1: QR Code (Easiest)
npm startMethod 2: From Running Bot
Without Database (Quick Start)
MONGODB_URL=mongodb://localhost:27017/ilombotWith MongoDB (Production)
Option 1: MongoDB Atlas (Free)
MONGODB_URL=mongodb+srv://username:[email protected]/botdbOption 2: Local MongoDB
MONGODB_URL=mongodb://localhost:27017/ilombotOption 3: Platform Managed
- Railway, Render, Heroku offer managed databases
- Auto-inject connection strings
| Category | Features | Count |
|---|---|---|
| ๐ค AI & Chat | OpenAI GPT, Gemini, Smart Responses | 15+ |
| ๐ฎ Games | 8-ball, Trivia, Blackjack, Hangman | 12+ |
| ๐ฐ Economy | Currency, Daily Rewards, Gambling, Shop | 18+ |
| ๐ Admin | Group Management, Moderation, Bans | 20+ |
| ๐ฅ Downloaders | YouTube, Instagram, TikTok, Facebook | 10+ |
| ๐ง Utilities | QR, Encryption, Translate, Weather | 15+ |
| ๐จ Media | Stickers, Filters, Compress, Convert | 12+ |
| ๐ Info | News, Search, Dictionary, Time | 10+ |
| ๐ค Owner | System Control, Backup, Execute Code | 9+ |
Total: 142+ Commands loaded and tested!
|
|
|
|
|
The bot features a stylish, user-personalized help menu with:
|
๐ฏ User Info Display Shows name, ID, status, credits |
โก Real-time Stats Current date, time, bot status |
๐ฑ Interactive Buttons Quick access to features |
|
๐ฌ Reply Support Detailed command assistance |
๐จ Beautiful Formatting Clean, organized categories |
๐ Global Images Enhanced visual appeal |
.help .menu .ping
.info .status .support Group Management
.kick @user .ban @user .unban @user
.promote @user .demote @user .mute @user
.unmute @user .warn @user .unwarn @user
.tagall [msg] .hidetag [msg] .setdesc <text>
.setname <text> .groupinfo .antilink on/off
.delete AI Commands
.ai <message> .chatgpt <msg> .gemini <msg>
.analyze <text> .translate <txt> .imagine <prompt>
.stt [audio] .tts <text> .ocr [image] Money & Shop
.balance .daily .weekly
.work .gamble <amt> .rob @user
.transfer @user $ .shop .buy <item>
.inventory .sell <item> .leaderboard Entertainment
.8ball <question> .dice [sides] .coin
.rps <choice> .joke .quote
.trivia .blackjack .tictactoe
.hangman .math .word
.memory Social Media Downloads
.ytdl <url> .ytmp3 <url> .ytmp4 <url>
.igdl <url> .fbdl <url> .tikdl <url>
.twdl <url> .pinterest <url> .mediafire <url>
.gdrive <url> Image & Video Tools
.sticker .filter <type> .blur
.compress .resize <width> .crop
.watermark .meme <text> .toaudio
.toimg .tovideo .gif Useful Tools
.qr <text> .encrypt <text> .decrypt <text>
.hash <text> .base64 <text> .short <url>
.weather <city> .news .search <query>
.time .uptime .profile [@user] System Management
.restart .shutdown .update
.backup .restore .eval <code>
.exec <command> .setprefix <pfx> .setstatus <txt>
.setpp [image] .broadcast <msg> .join <link>
.leave .addpremium @user .removepremium
.gban @user .gunban @user |
๐ Welcome Messages Beautiful gradient cards with user avatars |
๐ Goodbye Messages Stylish farewell cards with user info |
๐ Promotion/Demotion Celebration-themed notification cards |
๐ Group Updates Name & description change notifications |
|
๐ฏ Level-Up System XP-based progression Beautiful achievement cards |
โก Auto-Reactions 20+ context-aware emojis Smart sentiment analysis |
๐จ Custom Graphics Professional design Fully customizable |
http://localhost:5000/api
| Endpoint | Method | Description |
|---|---|---|
/api/health |
GET | Health check |
/api/stats |
GET | System statistics |
/api/commands |
GET | List all commands |
/api/users |
GET | User management |
/api/groups |
GET | Group management |
/api/qr |
GET | QR code for pairing |
/api/messages |
POST | Send messages |
/api/analytics |
GET | Usage analytics |
{
"status": "healthy",
"timestamp": "2025-11-02T00:00:00.000Z",
"uptime": "5h 23m 15s",
"memory": {
"used": "45.2 MB",
"total": "512 MB"
},
"whatsapp": {
"connected": true,
"qr_scanned": true
},
"database": {
"connected": true,
"type": "mongodb"
}
}โ MongoDB Connection Timeout
Problem: Operation users.findOne() buffering timed out after 10000ms
โ Solution: This is now automatically handled! The bot will:
- Use real database if connected
- Use temporary data if database unavailable
- No timeout errors sent to your WhatsApp
For production:
MONGODB_URL=mongodb+srv://username:[email protected]/botdbFor testing without database:
MONGODB_URL=mongodb://localhost:27017/ilombotโ Canvas/Graphics Not Working
Problem: Canvas images not generating for group events
โ Solution: Ensure canvas dependencies are installed:
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
brew install pkg-config cairo pango libpng jpeg giflib librsvg
npm install canvas --build-from-sourceโ Commands Not Working
Problem: Bot doesn't respond to commands
โ Solution:
- Check prefix is correct in
.envfile - Verify bot is running:
npm start - Check logs for errors:
tail -f logs/bot.log4.Ensure you have permission to use the command - Test with basic command:
.ping - Verify WhatsApp connection is active
- Check if command is loaded:
.help
โ Session Expired/Invalid
Problem: Bot keeps disconnecting or shows "Session Invalid"
โ Solution:
- Delete existing session files
- Clear
cache/auth_info_baileys/folder - Remove SESSION_ID from
.env - Restart bot and scan new QR code
- Save new SESSION_ID for future use
rm -rf cache/auth_info_baileys/
npm startโ High Memory Usage
Problem: Bot consuming too much memory
โ Solution:
- Reduce CACHE_SIZE in
.env - Clear temporary files:
npm run cleanup - Restart bot periodically
- Optimize database queries
- Monitor with:
npm run logs
CACHE_SIZE=500
MAX_CONCURRENT_COMMANDS=25
๐ฆ Installationnpm run setupAutomated installation |
๐งน Maintenancenpm run cleanupClean temporary files |
๐พ Backupnpm run backupCreate full backup |
๐ Updatenpm run updateSmart update system |
๐ Databasenpm run migrateRun migrations |
๐ Logsnpm run logsView PM2 logs |
| Script | Purpose | Safe Mode |
|---|---|---|
cleanup.js |
Removes temp files, preserves session | โ Yes |
backup.sh |
Backs up session, media, database | โ Yes |
restore.sh |
Restores from backup with confirmation | |
migrate.js |
Database schema migrations | โ With rollback |
seed.js |
Populate DB with demo data | โ Idempotent |
update.js |
Smart update with environment detection | โ Platform-aware |
update.sh |
Shell-based git pull + dependencies |
|
Ilom Format Default |
Base64 JSON Encoded |
Direct JSON Raw |
Mega.nz Cloud Cloud Storage |
Multi-File Baileys |
1. Ilom Format (Default)
SESSION_ID=Ilom~eyJub2lzZUtleS...
2. Base64 JSON
SESSION_ID=eyJjcmVkcyI6eyJub...
3. Direct JSON
SESSION_ID={"creds":{"noiseKey":...}}
4. Mega.nz Cloud
SESSION_ID=sypherโข--MEGA_FILE_ID
5. Multi-File Baileys (Auto-generated)
- Location:
cache/auth_info_baileys/ - Contains:
creds.json+keys/*.json
|
Method 1: QR Code
|
Method 2: Pairing Code QR_SCANNER_ENABLED=true
npm start |
Method 3: Existing Session
|
|
๐ฌ WhatsApp Group Chat & Support |
๐ข Telegram Channel Updates & News |
๐ฎ Discord Server Community Hub |
๐ Report Bugs Issue Tracker |
|
Complete guides and tutorials Read Docs |
Common questions answered View FAQ |
Sample code & tutorials Browse Examples |
|
We welcome contributions from the community!
|
1๏ธโฃ Fork Fork the repository |
2๏ธโฃ Branch Create feature branch |
3๏ธโฃ Commit Make your changes |
4๏ธโฃ PR Open pull request |
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License
See the LICENSE file for details
|
โ
Commercial Use Use for business |
โ
Modification Modify the code |
โ
Distribution Share with others |
|
โ
Private Use Use privately |
No warranty |
No trademark rights |
Found a security issue? Please report it responsibly!
|
๐ Report Security Issues View Security Policy |
๐ง Contact Security Team [email protected] |
- ๐ End-to-end encryption
- ๐ก๏ธ Rate limiting & DDoS protection
- ๐ Secure session management
- โ Input validation & sanitization
- ๐ซ Anti-spam & abuse prevention
- ๐ JWT authentication
๐ View Full Changelog
๐ Initial Release
- โจ 142+ commands across 9 categories
- ๐จ Beautiful canvas graphics
- ๐ค Multi-AI integration (GPT, Gemini)
- ๐ฐ Complete economy system
- ๐ Advanced admin tools
- ๐ฎ Interactive games
- ๐ฅ Social media downloaders
- ๐ง Comprehensive utilities
- ๐ก๏ธ Enterprise-grade security
- ๐ Multi-platform deployment



