| 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 |
| 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.
| 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.
| 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 |
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.jpgGet
APP_IDandAPP_HASHfrom my.telegram.org
# 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# One-line setup
bash termux-install.shOr 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 .
./pbxspamgoKeep running after closing Termux:
nohup ./pbxspamgo &# 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# 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 deploySpamGo/
βββ 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
BadMunda β @BadmundaXd
Channel: @PBX_UPDATE | Support: @PBXCHATS