A modern Telegram bot for high-quality group music streaming using PyTgCalls and DeadlineTechโs powerful Music API key.
- ๐ต Stream music in group voice/video chats
- ๐ Lightning-fast, stable, and scalable performance
- ๐ผ๏ธ Dynamic thumbnails with song metadata
- ๐๏ธ Admin dashboard and playback controls
- ๐ง Intelligent queue management system
- โ๏ธ Simple deployment on Heroku or VPS
- ๐ Powered by Deadline API Key for smooth music delivery
A Music API Key by DeadlineTech gives you powerful music fetching, blazing-fast downloads, rich metadata, and seamless YouTube support.
Just buy it once and enjoy the best streaming experience on your Telegram groups!
- ๐ Buy API Key
- ๐ฌ Ask on Telegram
| Command | Description |
|---|---|
/play <name/link> |
Play audio from YouTube/Spotify/etc |
/vplay <name/link> |
Play video in videochat |
/pause |
Pause current song |
/resume |
Resume playback |
/skip |
Skip current song |
/end |
End stream & clear queue |
| Command | Description |
|---|---|
/queue |
Show current song queue |
/loop |
Toggle loop |
/shuffle |
Shuffle queue order |
| Command | Description |
|---|---|
/auth |
Add user to admin list |
/unauth |
Remove user from admin list |
/authusers |
Show admin list |
| Command | Description |
|---|---|
/start |
Welcome message |
/help |
Full command list |
/ping |
Ping check |
/stats |
Bot stats & system usage |
๐ท Docker Deployment
Before you begin, ensure you have:
- Docker installed (version 20+ recommended)
- A
startscript in your root directory (make sure it's executable:chmod +x start) - A
requirements.txtfile for Python dependencies - Source code inside the same directory as your Dockerfile
This project uses:
- Python 3.10
- Node.js v18 (via NVM)
- FFmpeg for media handling
git clone https://github.com/naynay11122211/MS.git
cd musicdocker build -t music .This step may take several minutes the first time.
docker run --env-file .env -it --restart unless-stopped --name dt-bot musicThis will:
- Run the bot inside a container
- Automatically restart on crash or reboot
docker run --env-file .env -dit --restart unless-stopped --name dt-bot music-
Stop the container
docker stop dt-bot
-
Start it again
docker start dt-bot
-
View logs
docker logs -f dt-bot
-
Rebuild after changes
docker stop dt-bot && docker rm dt-bot git pull origin master docker build -t music . docker run --env-file .env -it --name dt-bot music
๐ธ Deploy on VPS / Localhost
1. Install Dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install python3-pip ffmpeg -y
sudo pip3 install -U pip2. Install NodeJS
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash && source ~/.bashrc && nvm install v183. Clone Project
git clone https://github.com/deadlineTech/music
cd music
pip3 install -U -r requirements.txt4. Setup .env
cp sample.env .env
vi .env- Press
Ito edit,Ctrl + C, then:wqto save.
5. Run Bot
sudo apt install tmux && tmux
bash startDetach with: Ctrl + B, then D
API_ID=123456
API_HASH=abcdef1234567890abcdef1234567890
BOT_TOKEN=YOUR_BOT_TOKEN
OWNER_ID=123456789
MONGO_DB_URI=mongodb+srv://username:password@cluster.mongodb.net/dbname
API_KEY=YOUR_API_KEY # Get from @DeadlineApiBot
STRING_SESSION=YOUR_STRING_SESSION- ๐ข Announcements Channel
- ๐ฌ Support Group
- ๐งโ๐ป Developer Contact
- Base Framework: Anon Music
- Enhanced by: Team DeadlineTech
- Lead Dev: @DeadlineTechOwner
Licensed under the MIT License. See LICENSE for details.
- sแดฉแดแดษชแดส แดสแดษดแดs แดแด [แดแดแดแด สแดแดแดษช] าแดส [สแดแดแดษช แดแดsษชแด สแดแด]
