- 48 commands across 5 categories
- Group management — ban, kick, mute, warn, promote, demote
- Media downloads — YouTube MP3, MP4, lyrics, GIFs, trending
- WhatsApp session pairing via pairing code
- Anti-link, anti-leave, bad word filters
- Admin-only mode gate
- Auto platform detection (Pterodactyl, Heroku, Render, Railway, Docker, local)
| Command |
Description |
/play <song> |
Search and send MP3 audio directly in chat |
/video <name> |
Search and send MP4 video directly in chat |
/dl <name> |
Get both MP3 and MP4 download links |
/song <name> |
Browse YouTube Music results |
/lyrics <song> |
Fetch full song lyrics |
/trending |
Show today's trending music chart |
/gif <query> |
Search and send an animated GIF |
| Command |
Description |
/add |
Generate a group invite link |
/promote @user |
Promote a user to admin |
/promoteall |
Promote all members to admin |
/demote @user |
Remove admin from a user |
/demoteall |
Remove admin from all users |
/kick @user |
Remove a user from the group |
/kickall |
Remove all non-admin members |
/ban @user |
Ban a user from the group |
/unban @user |
Unban a user |
/clearbanlist |
Clear all banned users |
/mute @user |
Mute a user |
/unmute @user |
Unmute a user |
/warn @user |
Issue a warning to a user |
/resetwarn @user |
Reset a user's warnings |
/setwarn <number> |
Set max warnings before action |
/warnings @user |
Check a user's warning count |
| Command |
Description |
/setgroupname <name> |
Change the group title |
/setgpp <url> |
Set group photo from an image URL |
/setdesc <text> |
Set or clear the group description |
/welcome <message> |
Set a welcome message (use {name} for user) |
/goodbye <message> |
Set a goodbye message |
/joinapproval on/off |
Toggle join request approval |
/onlyadmins on/off |
Restrict messaging to admins only |
/mode admins/public |
Toggle admin-only bot command mode |
/gctime |
Show group info and creation time |
/rules <text> |
Set group rules |
/leave |
Make the bot leave the group |
/creategroup |
Create a new group |
| Command |
Description |
/antilink on/off |
Block links posted in the group |
/antileave on/off |
Notify when a member leaves |
/addbadword <word> |
Add a word to the bad word filter |
/removebadword <word> |
Remove a word from the filter |
/listbadword |
List all filtered words |
| Command |
Description |
/start |
Start the bot |
/menu |
Show the full interactive menu |
/help |
Show help categories |
/ping |
Check if the bot is online |
/info |
Show bot information |
/id |
Get your user or group ID |
/echo <text> |
Repeat a message |
| Command |
Description |
/pair <phone> |
Generate a WhatsApp pairing code (include country code, no +) |
Talk to @BotFather on Telegram, create a new bot, and copy the token.
Open the .env file in the project root and paste your token:
TELEGRAM_BOT_TOKEN=your_token_here
npm install
node bot/index.js
- Import
deploy/pterodactyl-egg.json via Admin → Nests → Import Egg
- Create a server using the egg
- Set your bot token in the Bot Token variable
- Install → Start
- Click Deploy to Heroku or push to your Heroku remote
- Open
app.json and paste your token in the value field:
"TELEGRAM_BOT_TOKEN": { "value": "your_token_here" }
- Deploy — the worker dyno starts automatically
- Connect your GitHub repo on render.com
- Add
TELEGRAM_BOT_TOKEN under Environment Variables
- Deploy
- Import your repo on railway.app
- Add
TELEGRAM_BOT_TOKEN under Variables
- Deploy
docker build -t wolfxtg-bot .
docker run -e TELEGRAM_BOT_TOKEN=your_token_here wolfxtg-bot
git clone https://github.com/yourusername/yourrepo.git
cd yourrepo
npm install
# Edit .env and add your token
node bot/index.js
For persistent VPS deployment, copy the systemd service file:
cp deploy/wolfxtg.service /etc/systemd/system/
systemctl enable wolfxtg
systemctl start wolfxtg
| Variable |
Required |
Description |
TELEGRAM_BOT_TOKEN |
✅ Yes |
Your bot token from @BotFather |
TENOR_API_KEY |
❌ Optional |
Tenor API key for GIF search (built-in key used if blank) |
- The bot must be added as an admin in a group to use management commands
- Commands that change group info (
/setgroupname, /setgpp, /setdesc) require the bot to have the Change group info admin permission
- Bot data (group settings, warns, filters) is stored in
bot/data/store.json — back this up if you want to preserve settings across reinstalls