Skip to content

Badmunda05/SpamGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍹 α΄˜Κ™xsα΄˜α΄€α΄Ι’α΄

Multi-Bot Spam & Raid Tool β€” Built with Go + gogram

Go Telegram Developer


πŸ“‹ Commands

πŸš€ Spam Commands

Command Usage Description
.spam .spam 10 hello Normal text spam
.ds .ds 1.5 10 hello Delay spam (delay in seconds)
.delayspam .delayspam 1 10 hello Alias for .ds
.sspam .sspam 10 Sticker/media spam (reply to media)
.hang .hang 10 Hang spam
.pspam .pspam 10 Porn text spam
.stopspam .stopspam Stop all active spam

βš”οΈ Raid Commands

Command Usage Description
.raid .raid 20 Hindi raid
.hraid .hraid 20 Haryanvi raid
.eraid .eraid 20 English raid
.punraid .punraid 20 Punjabi raid
.praid .praid 20 Porn text + video raid
.shayari .shayari 10 Shayari raid
.stopraid .stopraid Stop all active raids

Reply Mode: Reply to any user's message before using raid commands β€” all messages will go as reply to that specific message.


πŸ‘ Reply Raid Commands (Watcher Mode)

Command Usage Description
.replyraid Reply to user + .replyraid Watch target β€” raid when they next msg
.hreplyraid Reply to user + .hreplyraid Haryanvi reply raid
.ereplyraid Reply to user + .ereplyraid English reply raid
.preplyraid Reply to user + .preplyraid Punjabi reply raid
.preplyraid Reply to user + .preplyraid Porn reply raid

Reply raid sends one random message when target user sends any message, then auto-stops.


βš™οΈ Extra Commands

Command Usage Description
.ping .ping Check bot ping & status
.restart .restart Restart the bot
.logs .logs Fetch bot logs (pm2)
.addsudo .addsudo [id] or reply Add sudo user
.rmsudo .rmsudo [id] or reply Remove sudo user
.sudolist .sudolist List all sudo users
/start /start Start message
/help /help Help menu

βš™οΈ Environment Variables

Create a .env file with the following:

# Required
APP_ID=12345678
APP_HASH=0123456789abcdef0123456789abcdef
OWNER_ID=your_telegram_id
BOT_TOKEN1=123456789:AAxxxxxxxxxx

# Multiple bots (optional)
BOT_TOKEN2=123456789:AAxxxxxxxxxx
BOT_TOKEN3=123456789:AAxxxxxxxxxx

# Optional
MONGO_URL=mongodb+srv://user:pass@cluster.mongodb.net/
START_PIC=https://files.tgvibes.online/5JreGgKB.jpg
HELP_PIC=https://files.tgvibes.online/5JreGgKB.jpg

Get APP_ID and APP_HASH from my.telegram.org


πŸš€ Hosting Guide

πŸ–₯️ VPS / Linux

# Install Go
sudo apt update
sudo apt install golang git -y

# Clone repo
git clone https://github.com/badmunda05/SpamGo.git
cd SpamGo

# Create .env
cp sample.env .env
nano .env   # fill in your values

# Build & run
go mod tidy
go build -o pbxspamgo .
./pbxspamgo

# Run with pm2 (recommended)
npm install -g pm2
pm2 start pbxspamgo --name spamgo
pm2 save
pm2 startup

πŸ“± Termux (Android)

# One-line setup
bash termux-install.sh

Or manually:

pkg update -y && pkg install golang git -y
git clone https://github.com/badmunda05/SpamGo.git
cd SpamGo
cp sample.env .env
nano .env
go mod tidy
go build -o pbxspamgo .
./pbxspamgo

Keep running after closing Termux:

nohup ./pbxspamgo &

🐳 Docker

# Build image
docker build -t pbxspamgo .

# Run with env file
docker run --env-file .env pbxspamgo

# Or with individual env vars
docker run \
  -e APP_ID=12345678 \
  -e APP_HASH=abcdef \
  -e OWNER_ID=123456 \
  -e BOT_TOKEN1=xxx \
  pbxspamgo

✈️ Fly.io

# Install flyctl
curl -L https://fly.io/install.sh | sh

# Login
flyctl auth login

# Deploy
flyctl launch
flyctl secrets set APP_ID=xxx APP_HASH=xxx OWNER_ID=xxx BOT_TOKEN1=xxx
flyctl deploy

πŸš€ Deploy Now

☁️ Heroku

Deploy on Heroku


🟒 Koyeb

Deploy on Koyeb


🟣 Render

Deploy on Render


πŸ”΅ Railway

Deploy on Railway


πŸ“ Project Structure

SpamGo/
β”œβ”€β”€ main.go              # Entry point
β”œβ”€β”€ .env                 # Your config (not committed)
β”œβ”€β”€ sample.env           # Example env file
β”œβ”€β”€ app.json             # Heroku config
β”œβ”€β”€ Dockerfile           # Docker build
β”œβ”€β”€ Procfile             # Heroku/pm2 process
β”œβ”€β”€ railway.json         # Railway config
β”œβ”€β”€ render.yaml          # Render config
β”œβ”€β”€ fly.toml             # Fly.io config
β”œβ”€β”€ termux-install.sh    # Termux auto-setup
β”œβ”€β”€ client/
β”‚   └── client.go        # Bot client manager
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ config.go        # Env loader
β”‚   └── data.go          # Raid/spam text data
β”œβ”€β”€ database/
β”‚   β”œβ”€β”€ db.go            # MongoDB connection
β”‚   β”œβ”€β”€ raid.go          # Active raid persistence
β”‚   └── sudo.go          # Sudo user management
└── modules/
    β”œβ”€β”€ basic.go         # Start, help, ping, sudo
    β”œβ”€β”€ module.go        # Handler registration
    β”œβ”€β”€ raid.go          # All raid commands
    β”œβ”€β”€ spam.go          # All spam commands
    β”œβ”€β”€ praid.go         # Porn raid + spam
    β”œβ”€β”€ shayari.go       # Shayari raid
    └── utils.go         # Helpers

πŸ‘¨β€πŸ’» Developer

BadMunda β€” @BadmundaXd

Channel: @PBX_UPDATE | Support: @PBXCHATS


Made with ❀️ by BadMunda

About

SpamGo β€” First Open-Source Telegram Spam Bot⚑ Fast β€’ Smooth β€’ Powerful πŸš€ Built Fully in GoLang with Gogram 🐹 Clean Performance β€’ Low RAM Usage πŸ’¨ Developed by β€” PBX ❀️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages