Skip to content

naynay11122211/MS

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

193 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DeadlineTech Music

LICENSE
built-with-love


๐ŸŽง Advanced Telegram Group Music Bot

A modern Telegram bot for high-quality group music streaming using PyTgCalls and DeadlineTechโ€™s powerful Music API key.


โœจ Features

  • ๐ŸŽต 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

๐Ÿ”‘ What is the API Key?

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!


๐Ÿ“œ Command Guide

๐ŸŽต Music Controls

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

๐Ÿ“‹ Queue Commands

Command Description
/queue Show current song queue
/loop Toggle loop
/shuffle Shuffle queue order

๐Ÿ›  Admin Commands

Command Description
/auth Add user to admin list
/unauth Remove user from admin list
/authusers Show admin list

๐Ÿ”ง Tools

Command Description
/start Welcome message
/help Full command list
/ping Ping check
/stats Bot stats & system usage

๐Ÿš€ Deployment Options

๐Ÿ”น Deploy to Heroku

Deploy

๐Ÿท Docker Deployment

๐Ÿณ Docker Deployment Guide โ€” DeadlineTech Bot

๐Ÿ“ฆ Prerequisites

Before you begin, ensure you have:

  • Docker installed (version 20+ recommended)
  • A start script in your root directory (make sure it's executable: chmod +x start)
  • A requirements.txt file for Python dependencies
  • Source code inside the same directory as your Dockerfile

๐Ÿ›  Dockerfile Summary

This project uses:

  • Python 3.10
  • Node.js v18 (via NVM)
  • FFmpeg for media handling

๐Ÿš€ Steps to Build & Run

1. Clone the Repository

git clone https://github.com/naynay11122211/MS.git
cd music

2. Build the Docker Image

docker build -t music .

This step may take several minutes the first time.

3. Run the Container

docker run --env-file .env -it --restart unless-stopped --name dt-bot music

This will:

  • Run the bot inside a container
  • Automatically restart on crash or reboot

Optional: Run Detached

docker run --env-file .env -dit --restart unless-stopped --name dt-bot music

๐Ÿ“Œ Common Commands

  • 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 pip

2. Install NodeJS

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash && source ~/.bashrc && nvm install v18

3. Clone Project

git clone https://github.com/deadlineTech/music
cd music
pip3 install -U -r requirements.txt

4. Setup .env

cp sample.env .env
vi .env
  • Press I to edit, Ctrl + C, then :wq to save.

5. Run Bot

sudo apt install tmux && tmux
bash start

Detach with: Ctrl + B, then D


๐Ÿ”ง Environment Variables

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

๐Ÿค Support & Community


โšก Credits


๐Ÿ“„ License

Licensed under the MIT License. See LICENSE for details.


- sแดฉแด‡แด„ษชแด€สŸ แด›สœแด€ษดแด‹s แด›แด [แด›แด‡แด€แด สแดœแด‹แด‹ษช] า“แดส€ [สแดœแด‹แด‹ษช แดแดœsษชแด„ ส™แดแด›]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 98.7%
  • Shell 1.1%
  • Other 0.2%