Skip to content

SilvaTechB/silva-md-bot

Repository files navigation




Typing SVG



A powerful multi-device WhatsApp bot — 1500+ commands, AI agent, 19 smart features, anti-ban protection.


📋 Contents

🔐 Get Session ID ✨ Features
🚀 Deploy 🎨 Themes
⚙️ Environment Variables 🤝 Connect

🔐 Step 1 — Get Session ID

⚡ You need a Session ID before deploying. It links the bot to your WhatsApp account.


1. Click the button above
2. Choose QR Code or Pairing Code
3. Link your WhatsApp
4. Copy the SESSION_ID shown
5. Paste it into your host's secrets panel

⚠️ Never share your Session ID. It grants full access to your WhatsApp account.


🚀 Step 2 — Deploy

Choose your host and click to deploy instantly


Platform Badge Notes
Deploy on Silva Host ⭐ Official · Easiest · Optimized
Deploy on Heroku 24/7 uptime · Auto-restart
Deploy on Railway $5 free credits/month
Deploy on Koyeb Free tier · No cold-starts
Deploy on Replit Browser IDE · Edit live


💡 Silva Host is purpose-built for this bot. Fastest setup with zero configuration headaches.

Step Action
1 Click Deploy Nowhost.silvatech.co.ke
2 Log in or create a Silva Host account
3 Fill in SESSION_ID, OWNER_NUMBER, BOT_NAME
4 Click Deploy — bot goes live in seconds ✅

Step Action
1 Fork the repo to your GitHub
2 Open silva-md-fork-checker.vercel.app → click Deploy to Heroku
3 Fill in SESSION_ID, OWNER_NUMBER, BOT_NAME
4 Click Deploy App — wait ~2 minutes
5 Go to More → View Logs → confirm ✅ Connected to WhatsApp

Step Action
1 Fork the repo to your GitHub
2 Go to railway.appNew Project → Deploy from GitHub
3 Select your forked repo
4 Open Variables tab → add SESSION_ID, OWNER_NUMBER, BOT_NAME
5 Check logs for ✅ Connected to WhatsApp

Step Action
1 Fork the repo to your GitHub
2 Go to app.koyeb.comCreate App → GitHub
3 Select your fork · Set Run command to node silva.js
4 Add SESSION_ID, OWNER_NUMBER, BOT_NAME under Environment Variables
5 Click Deploy → check logs for ✅ Connected to WhatsApp

Step Action
1 Open or fork this project in Replit
2 Go to Tools → Secrets
3 Add SESSION_ID, OWNER_NUMBER, BOT_NAME as secrets
4 Hit Run — look for ✅ Connected to WhatsApp in the console

Step Action
1 Open host.talkdrove.com/share-bot/49
2 Click Host This Bot
3 Enter your SESSION_ID and OWNER_NUMBER
4 Click Deploy — bot goes live instantly ✅

Requirements: Node.js 20+ · Git

# Clone & Install
git clone https://github.com/SilvaTechB/silva-md-bot.git
cd silva-md-bot
npm install

# Configure
cp config.env.example config.env
# → Fill in SESSION_ID, OWNER_NUMBER, etc.

# Start
node silva.js

Keep running 24/7 with PM2:

npm install -g pm2
pm2 start silva.js --name silva-md
pm2 save && pm2 startup

⚙️ Environment Variables

Set these as secrets on your host, or in a local config.env file.

🔑 Essential

Variable Default Description
SESSION_ID required Your WhatsApp session (from session generator)
OWNER_NUMBER auto Your WhatsApp number with country code e.g. 254712345678
BOT_NAME Silva MD Bot display name
PREFIX . Command prefix (. , ! / or comma-separated)
MODE public public · private · group · inbox
THEME silva Bot personality — see Themes

📸 Auto-Status

Variable Default Description
AUTO_STATUS_SEEN true Auto-view contacts' statuses
AUTO_STATUS_REACT true Auto-react to statuses
AUTO_STATUS_REPLY false Auto-reply to statuses

🛡️ Protection

Variable Default Description
ANTICALL true Auto-reject all incoming calls
ANTIDELETE_GROUP true Recover deleted group messages → forward to owner
ANTIDELETE_PRIVATE true Recover deleted private messages → forward to owner
ANTILINK false Block links from non-admins in groups
ANTIVV true Auto-reveal view-once media → forward to owner

⚡ Behavior

Variable Default Description
ALWAYS_ONLINE true Keep bot shown as always online
AUTO_TYPING true Show typing indicator while processing
READ_MESSAGE false Auto blue-tick all messages
DEBUG false Verbose logging

✨ Features

Protection Media AI Groups


🛡️ Protection Suite
Feature Enable What It Does
Anti-Call ANTICALL=true or .anticall on Rejects all calls, notifies owner
Anti-Delete ANTIDELETE_GROUP/PRIVATE=true Recovers & forwards deleted messages
Anti-Link .antilink on Removes links posted by non-admins
Anti-ViewOnce ANTIVV=true Opens & forwards view-once media to owner
Anti-Fake .antifake Blocks unrecognized country codes
Anti-Demote .antidemote Re-promotes demoted admins
Anti-Flood .antiflood Per-group flood protection
Anti-Spam .antispam Pattern-based spam removal
Anti-Bot .antibot Blocks other bots in group
🎵 Media & Downloads
Command Description
.play / .music Search YouTube → send as MP3
.ytmp3 <url> Download YouTube audio
.ytmp4 <url> / .yt Download YouTube video
.tiktok / .tt TikTok video (no watermark)
.instagram / .ig Instagram reels & posts
.facebook / .fb Facebook videos
.lyrics Song lyrics
.apk Download APK from Play Store
🤖 AI & Smart Tools
Command Description
.silva / .ask / .ai Chat with AI assistant
.tts Text-to-speech (19+ languages)
.translate Translate to any language
.weather Real-time weather
.wiki Wikipedia search
.qr Generate QR code
.calc Calculator
👥 Group Management
Command Description
.kick / .remove Remove a member
.promote / .demote Change admin status
.warn Issue warning (auto-kick at 3)
.tagall Mention all members
.hidetag Silent mention
.lock / .unlock Toggle who can send messages
.welcome / .goodbye Auto-messages for join/leave
.poll / .vote Create a WhatsApp poll
🎮 Games & Fun
Command Description
.rps Rock Paper Scissors
.hangman Hangman word game
.ttt Tic-Tac-Toe
.trivia Trivia question
.8ball Magic 8-ball
.joke / .dadjoke Random jokes
.quote Inspirational quotes
👑 Owner Commands
Command Description
.ban / .unban Ban users from bot
.broadcast / .bc Send to all chats
.eval Run JavaScript live
.settings View all settings
.theme / .settheme Change bot theme
.restart Restart the bot
.sudo add/del/list Manage sudo users

🎨 Themes

Change anytime with .settheme <name> or set THEME=<name> in your config.

Theme Character Vibe
silva 🤖 Silva MD Default — clean & professional
naruto 🍥 Naruto Uzumaki Energetic, never give up
gojo ⬜ Satoru Gojo Confident, Jujutsu Kaisen
itachi 🌙 Itachi Uchiha Calm and powerful
goku ⚡ Son Goku Friendly, Dragon Ball
luffy 🏴‍☠️ Monkey D. Luffy Carefree, One Piece
zerotwo 🌸 Zero Two Playful, Darling in FranXX
nezuko 🎋 Nezuko Kamado Gentle, Demon Slayer
batman 🦇 Batman Dark and serious
thanos 💜 Thanos Philosophical, all-powerful
friday 🔵 FRIDAY Iron Man AI style
ayanokoji 🧊 Ayanokoji Cold and calculated
genos ⚙️ Genos One Punch Man cyborg
parker 🕷️ Peter Parker Friendly neighborhood
adam 🤍 Adam Minimal and elegant

🤝 Connect With Silva


WhatsApp Channel Support Group Instagram Twitter/X



👨‍💻 Built By


🌍 Community

Forkers

Stargazers


Built with purpose by Silva Tech Inc

Silva MD Bot — 1500+ commands. One scan. Unlimited possibilities.

About

Silva MD Bot is a smart tool that enhances your WhatsApp experience by automating interactions and offering useful features like motivation, media downloads, and interactive polls.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors