This repo will use to deploy for music playing bot of telegram
Deploy on Heroku:
- Fork This Repo
- Click on the button to Deploy and follow steps
Press the below button to Fast deploy on Heroku/Raiwlay Either you could locally host or deploy on Heroku
then goto the variables tab for more info on setting up environmental variables.
Features:
🚀Features
💥Superfast⚡️ download and stream links.
💥No ads in playing songs.
💥Superfast interface.
💥Updates channel Support.
💥Mongodb database support for broadcasting.
💥User Freindly Interface.
💥Ping check.
💥Kickme and Video Chat Notifier are Available.
💥Real time CPU , RAM , Internet usage.
💥All unwanted code removed.
💥A lot more tired of writing check out by deploying it.
Host it on VPS Locally :
sudo apt-get install python3-pip ffmpeg -y
sudo apt-get install python3-pip -y
sudo pip3 install -U pip
curl -fssL
https://deb.nodesource.com/setup_19.x | sudo -E bash - && sudo apt-get install nodejs -y && npm i -g npm
git clone https://github.com/itzshukla/STRANGER-MUSIC && cd STRANGER-MUSIC
pip3 install -U -r requirements.txt
bash setup
sudo apt install tmux
tmux kill-session
tmux
bash start
Ctrl+b then dand to stop the whole bot, do CTRL+C
Setting up things
If you're on Heroku, just add these in the Environmental Variables
or if you're Locally hosting, create a file named sample.env in the root directory and add all the variables there.
An example of sample.env file:
API_ID=
API_HASH=
BOT_TOKEN=
LOGGER_ID=
MONGO_DB_URI=
OWNER_ID=
STRING_SESSION=Vars and Details :
API_ID : Goto my.telegram.org to obtain this.
API_HASH : Goto my.telegram.org to obtain this.
BOT_TOKEN : Get the bot token from @BotFather
OWNER_ID : Your Telegram User ID
LOGGER_ID : Your Telegram Chat ID For logs Where Bot and Assistant Id Should Be AdMin!
STRING_SESSION : Add String session for assistant to play songs on voice chat.
DATABASE_URL : MongoDB URI for saving User IDs when they first Start the Bot. We will use that for Broadcasting to them. I will try to add more features related with Database. If you need help to get the URI you can click on logo below!
Option Vars
UPDATES_CHANNEL : Put a Public Channel Username, so every user have to Join that channel to use the bot. Must add bot to channel as Admin to work properly.
How to Use :
Logger_Chat as an Admin
-
/start: To check if the bot is alive or not. -
/play ᴏʀ /vplay ᴏʀ /cplay: sᴛᴀʀᴛs sᴛʀᴇᴀᴍɪɴɢ ᴛʜᴇ ʀᴇǫᴜᴇsᴛᴇᴅ ᴛʀᴀᴄᴋ ᴏɴ ᴠɪᴅᴇᴏᴄʜᴀᴛ. -
/playforce ᴏʀ /vplayforce ᴏʀ /cplayforce: ғᴏʀᴄᴇ ᴩʟᴀʏ sᴛᴏᴩs ᴛʜᴇ ᴏɴɢᴏɪɴɢ sᴛʀᴇᴀᴍ ᴀɴᴅ sᴛᴀʀᴛs sᴛʀᴇᴀᴍɪɴɢ ᴛʜᴇ ʀᴇǫᴜᴇsᴛᴇᴅ ᴛʀᴀᴄᴋ. -
/channelplay [ᴄʜᴀᴛ ᴜsᴇʀɴᴀᴍᴇ ᴏʀ ɪᴅ] ᴏʀ [ᴅɪsᴀʙʟᴇ]: ᴄᴏɴɴᴇᴄᴛ ᴄʜᴀɴɴᴇʟ ᴛᴏ ᴀ ɢʀᴏᴜᴩ ᴀɴᴅ sᴛᴀʀᴛs sᴛʀᴇᴀᴍɪɴɢ ᴛʀᴀᴄᴋs ʙʏ ᴛʜᴇ ʜᴇʟᴩ ᴏғ ᴄᴏᴍᴍᴀɴᴅs sᴇɴᴛ ɪɴ ɢʀᴏᴜᴩ. -
/seek: sᴇᴇᴋ ᴛʜᴇ sᴛʀᴇᴀᴍ ᴛᴏ ᴛʜᴇ ɢɪᴠᴇɴ ᴅᴜʀᴀᴛɪᴏɴ. -
/seekback: ʙᴀᴄᴋᴡᴀʀᴅ sᴇᴇᴋ ᴛʜᴇ sᴛʀᴇᴀᴍ ᴛᴏ ᴛʜᴇ ᴛʜᴇ ɢɪᴠᴇɴ ᴅᴜʀᴀᴛɪᴏɴ. -
/pause: ᴩᴀᴜsᴇ ᴛʜᴇ ᴄᴜʀʀᴇɴᴛ ᴩʟᴀʏɪɴɢ sᴛʀᴇᴀᴍ. -
/resume: ʀᴇsᴜᴍᴇ ᴛʜᴇ ᴩᴀᴜsᴇᴅ sᴛʀᴇᴀᴍ. -
/skip: sᴋɪᴩ ᴛʜᴇ ᴄᴜʀʀᴇɴᴛ ᴩʟᴀʏɪɴɢ sᴛʀᴇᴀᴍ ᴀɴᴅ sᴛᴀʀᴛ sᴛʀᴇᴀᴍɪɴɢ ᴛʜᴇ ɴᴇxᴛ ᴛʀᴀᴄᴋ ɪɴ ǫᴜᴇᴜᴇ. -
/end ᴏʀ /stop: ᴄʟᴇᴀʀs ᴛʜᴇ ǫᴜᴇᴜᴇ ᴀɴᴅ ᴇɴᴅ ᴛʜᴇ ᴄᴜʀʀᴇɴᴛ ᴩʟᴀʏɪɴɢ sᴛʀᴇᴀᴍ.
To get an instant result do /reboot in chat of logger .
Bot also Supported with Channels. Just add bot and assistant to the Channel as Admin.
- Shashank Shukla
- Telegram
- Everyone In This Journey !

