A Powerful Telegram Music Bot to Play Songs in Voice Chats
- Play Music: Stream high-quality music in Telegram voice chats
- Multiple Sources: YouTube, Spotify, SoundCloud, and local files
- Playlists: Create and manage playlists for your group
- Multi-Language: Available in multiple languages
- Elegant UI: Clean and modern user interface
- Group Management: Powerful admin commands
- High Quality: Crystal clear audio streaming
Command | Description |
---|---|
/play |
Play song from YouTube |
/pause |
Pause the current stream |
/resume |
Resume the paused stream |
/skip |
Skip to the next song |
/stop |
Stop the streaming |
/playlist |
Show the playlist |
/song |
Download a song as audio |
/settings |
Open bot settings |
First, update your system and install required packages:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install python3-pip ffmpeg git -y
git clone https://github.com/coderx0805/JANNATMUSIC
cd JANNATMUSIC
python3 -m venv venv
source venv/bin/activate
pip3 install -U pip
pip3 install -U -r requirements.txt
Copy example config file and edit it with your values:
cp sample.env .env
nano .env
Fill in your:
API_ID
&API_HASH
from my.telegram.orgBOT_TOKEN
from @BotFatherSESSION_STRING
(Generate using session generator bot)MUSIC_BOT_NAME
(your bot name)SUDO_USERS
(your user ID)
There are two ways to start the bot:
- Using Python directly:
python3 -m ShrutiMusic
- Using Bash script:
bash start
To keep the bot running in background:
screen -S shrutibot
bash start
To detach the screen, press Ctrl+A
then D
To reattach the screen later:
screen -r shrutibot
- Click the button above
- Fill in the required details:
- App name
- API_ID & API_HASH
- BOT_TOKEN
- MUSIC_BOT_NAME
- SESSION_STRING
- SUDO_USERS (your User ID)
- Click "Deploy App"
- Once deployed, go to Resources tab and turn on the worker
Use our Session Generator Bot: @ShrutiSessionBot
- Start the bot
- Send phone number with country code
- Enter the OTP
- Your session string will be generated
- Bot not responding: Check if the bot is running and has proper permissions
- No sound in VC: Ensure ffmpeg is properly installed
- Can't join voice chat: Make sure the bot is an admin with voice chat permissions
- API Issues: Double check your API_ID and API_HASH
- NoxxOP: Main Developer
- All contributors who helped make this project better
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or help, join our Support Group
π΅ Enjoy Streaming Music with Shruti Bot! π΅