The easiest way to deploy this Bot
Get STRING_NAME from here:
- Some Of The Mandatory Vars Are :-
API_ID
: Give API_ID of your Alternate Telegram Account. also get from here @APIInfoBotAPI_HASH
: Give API_HASH of your Alternate Telegram Account. also get from here @APIInfoBotSTRING_NAME
: Make a string session from hereBOT_TOKEN
: Make a Bot from @Botfather and fill it's bot token.SUDO_USERS
: Fill Userid of yhe users whom you want to be able to control the bot. You can add multiple id by giving a space in b/w each id.
-The commands and there use is explained here-:
/saavn
To search song on jio saavan and play the first result/ut
To search the song on Youtube and play the first matching result./deezer
To search song on deezer and play good quality stream./play
Reply this in response to a link or any telegram audio file it will be played/skip
to skip current song/stop
to stop the streaming of song/pause
to pause the stream/resume
to resume the playback.- Inline search is also supported.
- FFmpeg
- Python 3.7+
Copy example.env
to .env
and fill it with your credentials.
- Install Python requirements:
pip install -U -r requirements.txt
- Run:
python main.py
- If you want any help you can ask here
- Build:
docker build -t musicplayer .
- Run:
docker run --env-file .env musicplayer