Skip to content

Shreya7-h/STRANGER-MUSIC

 
 

Repository files navigation

─「 𝐒ᴛʀᴀɴɢᴇʀ 𝘅 𝐌ᴜsɪᴄ 」─

Typing SVG

Typing SVG

🍁 About This Bot :

This repo will use to deploy for music playing bot of telegram

♢ How to make your own :

♢ Click on This Drop-down and get more details


Deploy on Heroku:
  1. Fork This Repo
  2. Click on the button to Deploy and follow steps

So Follow Above Steps 👆 and then deploy other wise bot won't work

Press the below button to Fast deploy on Heroku/Raiwlay Either you could locally host or deploy on Heroku

💜 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 d

and 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 :

⚠️ Before using the bot, don't forget to add the bot to the 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 .

image

Channel Support

Bot also Supported with Channels. Just add bot and assistant to the Channel as Admin.

Credits :

About

🌹ᴀ ᴘᴏᴡᴇʀғᴜʟ ᴠ2 sᴜᴘᴇʀғᴀsᴛ ᴍᴜsɪᴄ ʙᴏᴛ ʀᴇᴘᴏ ɪɴ ᴡʜᴏʟᴇ ᴛᴇʟᴇɢʀᴀᴍ..💘..❣️...ғᴜʟʟʏ ᴜᴘᴅᴀᴛᴇᴅ ʙʏ sʜᴜᴋʟᴀ..!

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.6%
  • Other 0.4%