Blaze-md

๐Ÿ”ฅ BLAZE MD WhatsApp Bot

Owner: Randy Blaze โ˜˜๏ธ (+237676162113) Version: 1.0.0 Library: @whiskeysockets/baileys


๐Ÿ“Š Total Commands: 80+

# Category Commands
1 Basic /menu /help /ping /info /rules
2 Fun /anime /meme /joke
3 Games /8ball /truth /dare /roast /compliment /quote /fact /riddle /ship /randomcolor /wyr
4 Utility /weather /calc /time /define /wiki /translate /currency /qr /shorten /ip /news
5 Media /tts /spotify /github /cat /dog /wallpaper /ss /avatar
6 Moderation /kick /ban /unban /mute /unmute /promote /demote /tagall /hidetag /poll /grouplink /revoke /setgroupname /setgroupdesc /listmembers
7 Security /antilink /antimention /warn /unwarn /checkwarn
8 Auto Reply /autoreply on/off
9 Premium /premium /buy /addpremium /removepremium /checkpremium
10 AI /chat /ai on/off
11 Updates /update /updatelog
12 Group Mgmt /welcome /goodbye /admin
13 Owner Only /setwarnlimit /restart /shutdown /setname /setbio

๐Ÿš€ Setup

Requirements

1. Install Dependencies

cd blaze-md
npm install

2. Configure .env

OWNER_NUMBER=237676162113
BOT_NAME=BLAZE MD
BOT_VERSION=1.0.0
PREFIX=/
SESSION_PATH=./session
AI_API_KEY=your_openrouter_key   # https://openrouter.ai (free)
MAX_WARNINGS=2

3. Start the Bot

npm start

4. Scan QR Code

A QR code appears in terminal. Scan with WhatsApp:


๐Ÿ“ File Structure

blaze-md/
โ”œโ”€โ”€ index.js
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ .env
โ”œโ”€โ”€ data/db.json          (auto-created)
โ”œโ”€โ”€ session/              (auto-created)
โ””โ”€โ”€ src/
    โ”œโ”€โ”€ bot.js
    โ”œโ”€โ”€ handler.js
    โ”œโ”€โ”€ database.js
    โ”œโ”€โ”€ groupEvents.js
    โ””โ”€โ”€ commands/
        โ”œโ”€โ”€ index.js
        โ”œโ”€โ”€ basic.js      โ† menu, help, ping, info, rules
        โ”œโ”€โ”€ fun.js        โ† anime, meme, joke
        โ”œโ”€โ”€ games.js      โ† 8ball, truth, dare, roast, ship...
        โ”œโ”€โ”€ utility.js    โ† weather, calc, wiki, translate...
        โ”œโ”€โ”€ media.js      โ† tts, spotify, github, cat, dog...
        โ”œโ”€โ”€ moderation.js โ† kick, ban, mute, tagall, poll...
        โ”œโ”€โ”€ security.js   โ† warn, antilink, antimention...
        โ”œโ”€โ”€ premium.js    โ† premium system
        โ”œโ”€โ”€ ai.js         โ† AI chat
        โ”œโ”€โ”€ settings.js   โ† autoreply, ai toggle
        โ”œโ”€โ”€ updates.js    โ† update, updatelog
        โ”œโ”€โ”€ group.js      โ† welcome, goodbye, admin
        โ””โ”€โ”€ owner.js      โ† restart, shutdown, setname...

๐Ÿ“– Command Explanations

๐ŸŽฎ Games

| Command | What it does | |โ€”|โ€”| | /8ball | Ask the magic 8 ball any yes/no question | | /truth | Get a random truth question to answer | | /dare | Get a random dare challenge | | /roast @user | Send a funny (harmless) roast to a user | | /compliment @user | Send a sweet compliment to a user | | /quote | Get a random inspirational quote | | /fact | Get a random fun/interesting fact | | /riddle | Get a brain teaser riddle | | /ship @user1 @user2 | Calculate love compatibility between two users | | /randomcolor | Generate a random color with hex code | | /wyr | Ask a "would you rather" question |

๐Ÿ› ๏ธ Utility

| Command | What it does | |โ€”|โ€”| | /weather | Get live weather for any city in the world | | /calc | Calculate any math expression e.g. /calc 25*4+10 | | /time | Get current time in any timezone/city | | /define | Look up the dictionary definition of a word | | /wiki | Search Wikipedia for any topic | | /translate | Translate text to french, spanish, arabic, etc. | | /currency | Convert between currencies e.g. /currency 5000 XAF USD | | /qr | Generate a QR code for any text or link | | /shorten | Shorten any long URL using TinyURL | | /ip <address> | Look up location and info for any IP address | | /news | Get latest world news headlines |

๐Ÿ“ธ Media

| Command | What it does | |โ€”|โ€”| | /tts | Convert text to a voice message (speech) | | /spotify | Search for a song and show its info | | /github | Show a GitHub user's profile and stats | | /cat | Send a random cat image | | /dog | Send a random dog image | | /wallpaper | Get a wallpaper image for any topic | | /ss | Take a screenshot of any website | | /avatar @user | Get a user's WhatsApp profile picture |

๐Ÿ”จ Moderation

| Command | What it does | |โ€”|โ€”| | /kick @user | Remove a user from the group | | /ban @user | Kick + add to ban list so they canโ€™t rejoin | | /unban | Remove user from ban list | | /mute | Lock group โ€” only admins can send messages | | /unmute | Unlock group โ€” everyone can send messages | | /promote @user | Make a user a group admin | | /demote @user | Remove admin status from a user | | /tagall | Mention all members in the group | | /hidetag | Silently notify all members (no visible mentions) | | /poll Q\|A\|B\|C | Create an interactive poll | | /grouplink | Get the group's invite link | | /revoke | Reset/invalidate the current invite link | | /setgroupname | Change the group's name | | /setgroupdesc | Change the group's description | | /listmembers | List all members and admins in the group |


โ™ป๏ธ 24/7 Uptime with PM2

npm install -g pm2
pm2 start index.js --name "blaze-md"
pm2 save
pm2 startup

โš ๏ธ Important Notes

  1. Use a secondary WhatsApp number โ€” not your main
  2. Keep the session/ folder private and safe
  3. Bot must be group admin for moderation commands
  4. Delete session/ and re-scan QR if you get logged out

๐Ÿ”ฅ BLAZE MD โ€” Built with โค๏ธ by Randy Blaze โ˜˜๏ธ ๐Ÿ“ฑ Contact: +237676162113