XYLO-MD isn't just another WhatsApp bot โ it's a full-featured ecosystem built on the Baileys library with modern AI, a deep economy system, group security, and more. Designed for speed, stability, and style.
|
LLaMA 3.3, GPT, Groq & Pollinations for smart conversations, web search, and image generation |
Anti-link, anti-spam, anti-raid, anti-delete, warnings system & full moderation suite |
Smart caching, debounced writes, TTL-based group metadata & minimal downtime |
|
Full RPG economy with 60+ commands, 13-level perks, gambling, fishing, hunting & more |
Download from YouTube, TikTok, Instagram, Snapchat, Pinterest & more instantly |
Anonymous confessions, native polls, audio editing, sticker creation & custom commands |
| Category | Commands | Highlights |
|---|---|---|
| ๐ฐ Economy | 60+ | Coins, banking, shop, gambling, fishing, hunting, robbing, level perks |
| ๐ก๏ธ Group | 56+ | Moderation, anti-link, anti-raid, welcome cards, warnings, mute/kick/ban |
| ๐ง Owner | 25+ | Bot management, broadcast, block/unblock, eval, shell, settings |
| ๐ ๏ธ Tools | 22+ | Calculator, translate, weather, QR code, URL shortener, base64 |
| ๐ Fun | 20+ | Ship, roast, compliment, 8ball, truth/dare, memes, confessions |
| ๐ฅ Download | 15+ | YouTube, TikTok, Instagram, Snapchat, Facebook, Pinterest, Spotify |
| ๐ Search | 13+ | Google, Wikipedia, GitHub, Lyrics, PlayStore, weather |
| ๐ฎ Games | 13+ | Trivia, hangman, tic-tac-toe, word chain, math challenge, riddles |
| ๐ฑ WhatsApp | 12+ | Presence, profile edits, privacy settings, group management |
| ๐ค AI | 12+ | Chat, image gen, vision, web search, AI tools, chatbot toggle |
| โ๏ธ Creator | 11+ | Sticker packs, custom commands, canvas tools, logos |
| ๐ฎ Misc | 9+ | Fake ID, religion, AFK, reminders, schedule, analytics |
| ๐ต Media | 6+ | Audio effects, image editing, video conversion, sticker tools |
| ๐ผ๏ธ Anime | 5+ | Anime search, waifu, character lookup, neko, wallpapers |
| โน๏ธ Info | 5+ | Bot stats, ping, runtime, system info, speed test |
๐ญ Anonymous Confessions
Send anonymous messages to any group โ no prefix needed in DMs!
- Groups get a short code (e.g.,
gr1,gr2) when confessions are enabled - Users DM the bot:
confess gr1 I have a secret to share - Message appears anonymously in the group
- Rate limited: 5 min cooldown, 10/day max
- Admin toggle per group:
.confession on/off - Lists available groups with names when you just type
confess
๐ฐ Economy & Level Perks
A deep virtual economy with 60+ commands:
- Earning: Daily rewards, work, crime, fishing, hunting, begging, robbing
- Banking: Deposit, withdraw, transfer, interest
- Shop & Assets: Buy items, buffs, collectibles
- Gambling: Coinflip, slots, blackjack, dice, roulette, crash
- Social: Marriage, leaderboards, achievements, profiles
- 13 Level Perks (Lv.5 to Lv.100):
- Earning multipliers (1.1x to 2.0x)
- Cooldown reductions (up to 35% off)
- Special abilities: rob shield, crime boost, legendary title
- All perks stack and apply automatically
๐ก๏ธ Group Moderation
Comprehensive group management and security:
- Anti-Link โ Auto-delete links with warnings
- Anti-Spam โ Detect and handle spam behavior
- Anti-Raid โ Automatic protection against mass joins
- Anti-Bad-Words โ Customizable word filter
- Anti-Sticker โ Block sticker flooding
- Anti-Delete โ Forward deleted messages to admins
- Warning System โ Configurable thresholds with auto-actions
- Welcome/Goodbye โ Canvas-generated cards with custom messages
- Slowmode โ Queue commands with delays to avoid rate limits
๐ค AI Integration
Multiple AI backends for smart conversations:
- Groq โ LLaMA 3.3 70B with web search augmentation
- OpenRouter โ GPT model fallback
- Pollinations โ Text generation for AI tools
- Image Generation โ Flux, SeaArt, and more
- Vision โ Analyze images sent to the bot
- Conversation Memory โ Persistent chat history per user
- Web Search โ DuckDuckGo-augmented AI responses
๐ฅ Media Downloaders
Download content from popular platforms:
- YouTube (video + audio)
- TikTok (no watermark)
- Instagram (posts, reels, stories)
- Snapchat Spotlight
- Facebook videos
- Pinterest images
- Spotify tracks
- GitHub repositories
๐ฎ Interactive Games
Play games right in WhatsApp:
- Word Connection
- Trivia (multiple categories)
- Hangman
- Tic-Tac-Toe
- Math Challenge
- Emoji Quiz
- Riddles
- Party Games
- All integrated with the economy system for betting
One-click deploy to your favorite cloud platform:
| Platform | Status | Deploy |
|---|---|---|
| Heroku | ||
| Render | ||
| Railway | ||
| Replit | ||
| Koyeb |
Click to expand
# Clone the repository
git clone https://github.com/DAV-EX/XYLO-MD.git
# Enter the directory
cd XYLO-MD
# Install dependencies
npm installCreate a .env file in the root directory:
SESSION_ID=YOUR_SESSION_ID_HERE
PREFIX=.
OWNER_NUMBER=YOUR_NUMBER
MODE=public
MONGO_URI=mongodb+srv://your-connection-string# Development
npm run dev
# Production (with PM2)
npm startXYLO-MD/
โโโ ๐ index.ts # Main entry point โ WhatsApp socket, events, routing
โโโ ๐ config.ts # Configuration management with MongoDB sync
โโโ ๐ plugins/ # 62 command plugin files
โ โโโ ๐ economy/ # Economy subsystem (core, shop, bank, assets, market, betting, admin)
โ โโโ ๐ ai.ts # AI chat commands
โ โโโ ๐ confess.ts # Anonymous confession system
โ โโโ ๐ games.ts # Interactive games
โ โโโ ๐ group.ts # Group moderation commands
โ โโโ ๐ downloader.ts # Media downloaders
โ โโโ ... # 50+ more plugin files
โโโ ๐ lib/ # Core libraries
โ โโโ ๐ economy.ts # Economy engine, leveling, perks, achievements
โ โโโ ๐ groupMeta.ts # Group metadata caching
โ โโโ ๐ antiRaid.ts # Anti-raid protection
โ โโโ ๐ welcomeHandler.ts # Welcome/goodbye canvas cards
โ โโโ ... # Moderation, utilities, game logic
โโโ ๐ data/ # Data utilities (audio editor, text styles)
โโโ ๐ store/ # Runtime data storage
โโโ ๐ session/ # WhatsApp auth credentials
โโโ ๐ tmp/ # Temporary media processing files
| Technology | Purpose |
|---|---|
| TypeScript | Primary language with tsx for direct execution |
| Baileys | WhatsApp Web API (multi-device protocol) |
| MongoDB | Configuration persistence & economy data |
| Express | Keep-alive server for cloud hosting |
| PM2 | Production process management |
| FFmpeg | Audio/video processing & conversion |
| Sharp | Image manipulation & optimization |
| Canvas | Welcome card generation |
| Groq / OpenRouter | AI chat backends |
| Node Cache | In-memory caching with TTL |
| Variable | Required | Description |
|---|---|---|
SESSION_ID |
Yes | WhatsApp session authentication key |
PREFIX |
No | Command prefix (default: .) |
OWNER_NUMBER |
No | Bot owner's phone number |
MODE |
No | public or private (default: public) |
MONGO_URI |
No | MongoDB connection string |
GROQ_API_KEY |
No | Groq API key for AI features |
OPENROUTER_API_KEY |
No | OpenRouter API key for AI fallback |
Contributions are welcome! Feel free to:
- Fork the repository
- Create a 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
This project is open source. Please give credit if you fork or modify it.
Created & Maintained by DavidXTech
If you found XYLO-MD useful, leave a star!
XYLO-MD v3.0.3 โ Powered by DavidXTech
