Click the button below to fork the Mega Md repository to your GitHub account:
Easily connect to your WhatsApp account by pair code.
Note: Set these environment variables in .env file
| Variable | Description |
|---|---|
| REMOVEBG_KEY | API key for www.remove.bg |
| SESSION_ID | Session id you got via pairing |
Use One Of Following ( Optional But Highly Recommended )
| Variable | Description |
|---|---|
| MONGO_URL | mongo db connection uri |
| POSTGRES_URL | postgres:// postgres connection url |
| MYSQL_URL | mysql://mysql connection url |
Option A: Deploy In Heroku
- Sign Up on Heroku if you havenāt already.
- Click the button below to deploy directly In Heroku:
Option B: Deploy In Koyeb
- Sign Up on Koyeb. if you havenāt already.
- Click the button below to deploy using Koyeb:
Option C: Deploy In Railway
- Sign Up on Railway if you havenāt already.
- Click the button below to deploy using Railway:
Option D: Deploy In Render
- Sign Up on Render if you havenāt already.
- Click the button below to deploy using Render:
Option E: Deploy In Replit
- Sign Up on Replit if you havenāt already.
- Click the button below to deploy using Replit:
Option F: Deploy In Sevalla
- Sign Up on Sevalla if you havenāt already.
- Click the button below to deploy using Sevalla:
Option G: Deploy In Fly.io
- Sign Up on Fly.io if you havenāt already.
- Click the button below to deploy using Fly.io:
Option H: Deploy In Panel
- First You Have to Sign up on discord using web or app then click below.
- Sign Up On Panel if you donāt have Already.
- Click the button below to deploy using Panel:
- Tag all group members with the
.tagallcommand - Automated Tasks with the
.autoreact, .autostatus, .autoreadcommands - Admin restricted usage (Only group admins can use certain commands)
- Owner restricted usage (Only owner/sudo can use certain commands)
- Games like Tic-Tac-Toe for interactive group engagement
- Social Media downloaders for popular social media webistes and apps
- Text Makers with
.ephoto - Text-to-Speech with
.tts - Sticker creation with
.sticker - Logo creations with
.ephoto - Anti-link detection for group safety
- Warn and manage group members with admin control
- And much more .....
The MEGA AI WhatsApp Bot assists group admins by providing them with tools to efficiently manage large WhatsApp groups. The bot uses the Baileys library to interact with the WhatsApp Web API and supports multi-device features.
It is lightweight and can be easily customized to add more commands as per your requirements. The bot runs in a Node.js environment and provides QR code-based authentication to link your WhatsApp account.
pkg update && pkg upgrade -y
pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu
apt update && apt upgrade -y
apt install -y webp git ffmpeg curl imagemagick
apt -y remove nodejs
curl -fsSl https://deb.nodesource.com/setup_20.x | bash - && apt -y install nodejs
git clone https://github.com/<your gitHub Username>/MEGA-MD
cd MEGA-MD
npm install
npm start
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
If you like this project, please give it a āļø star on GitHub!
![]() |
![]() |
|---|---|
| Qasim Ali | WhiskeySockets |
Note: This bot is created for educational purposes only. This is NOT an official WhatsApp bot. Using this bot may lead to your WhatsApp account being banned. Use it at your own risk. The developers will not be responsible for any consequences or account bans that may occur while using this bot.
- This project is not affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries.
- This is an independent and unofficial software. Use at your own risk.
- Do not spam people with this bot.
- Do not use this bot to send bulk messages or for illegal purposes.
- The developers assume no liability and are not responsible for any misuse or damage caused by this program.
Copyright (c) 2026 GlobalTechInfo. All rights reserved.
This project contains code from various open source projects:
- Baileys (MIT License)
- Other libraries as listed in package.json
- Not For Sale
- If A plugin's code is obfuscated , You don't have permission to edit it in any form
- Don't Forget to Give Credits If you are using or Reuploading My Plugins/files
- Have A Good Day

