Telegram Voice-Chat Bot To Play Music With Pytgcalls From Various Sources In Your Group.
- Telegram API_ID and API_HASH
- Python 3.7 or higher
- Userbot Needs To Be Admin In The Chat
- Install ffmpeg
The easiest way to deploy this Bot
Follow this if you are not running on heroku
$ git clone https://github.com/sangramghangale/VCPlayerBot
$ cd Telegram_VC_Bot
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
$ cp sample_config.py config.pyEdit config.py with your own values.
$ python3 main.pyGet 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-:
/saavnTo search song on jio saavan and play the first result/utTo search the song on Youtube and play the first matching result./deezerTo search song on deezer and play good quality stream./playReply this in response to a link or any telegram audio file it will be played/skipto skip current song/stopto stop the streaming of song/pauseto pause the stream/resumeto resume the playback.- Inline search is also supported.
- FFmpeg
- Python 3.7+
- If you want any help you can ask here
- Build:
docker build -t musicplayer . - Run:
docker run --env-file .env musicplayer
