A high-performance WhatsApp Multi-Device bot powered by Baileys. Fast. Lightweight. Modular. Production-ready.
Lucky M2 Bot is a WhatsApp MD bot built using the WhiskeySockets Baileys library. It is engineered for:
- ⚡ High performance
- 🧠 Clean modular structure
- 🔧 Easy customization
- 🛡 Stable session handling
- 🌍 Flexible deployment (VPS, panels, cloud platforms)
This project is fully open source. You are free to fork, modify, rebrand, and deploy your own version — no permission required.
- Complete access to the source code
- Host anywhere (VPS, panels, cloud platforms)
- No hidden restrictions
- Organized
commands/directory - Easily add, remove, or edit features
- Clean separation of logic
- Change bot name
- Modify prefix
- Update bot image
- Configure channel/newsletter
- Adjust settings via commands or config
- Efficient session handling (
sessionIDsupport) - RAM-optimized media streaming
- Temporary file cleanup
- Crash-resistant structure
- Restart command
- Update from ZIP
- Admin-only tools
- Maintenance controls
This creates your own copy under your GitHub account.
Deploy the helper service to generate your WhatsApp session string.
After pairing, you’ll receive a session string like:
LuckyM2-H4....
Add it to your config.js:
sessionID: 'LuckyM2-H4....'git clone https://github.com/Tomilucky218/Lucky-M2-Bot.git
cd Lucky-M2-Botnpm installEdit config.js:
Use Session String
sessionID: 'LuckyM2-H4....'node index.jsYou can deploy Lucky M2 Bot on:
- VPS (Ubuntu/Debian recommended)
- Hosting panels (Katabump, Pterodactyl, etc.)
- Cloud platforms
- Self-hosted servers
Stay connected and receive updates:
- Lucky 218 – Founder & Lead Developer
- WhiskeySockets – Maintainers of
@whiskeysockets/baileys - Open-source contributors listed in
package.json
Your support helps maintain and improve this open-source project.
- This project is for educational purposes only.
- This is NOT an official WhatsApp product.
- Use of third-party bots may violate WhatsApp's Terms of Service.
- Accounts may be banned if misused.
You are solely responsible for how you use this software.
-
This project is not affiliated with, endorsed by, or associated with WhatsApp Inc.
-
Do NOT use this bot for:
- Spam
- Bulk unsolicited messaging
- Harassment
- Illegal activities
The developer assumes no liability for misuse or damages.
This project is licensed under the MIT License.
You must:
- Retain original copyright
- Include license notice
- Follow all applicable laws
- Credit original authors