Just Another [Obviously better!] Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group
- Python 3.6 or higher
- A Telegram API key
- A Telegram bot token
mpv
Install it From Your Linux Repository. [sudo apt-get install mpv
] -for ubuntu, [sudo pacman -S mpv
] -for ArchLinux, I use arch btw
git clone https://github.com/thehamkercat/Telegram_VC_Bot
, to download the source code.cd Telegram_VC_Bot
, to enter the directory.pip3 install -r requirements.txt
, to install the requirements.cp sample_config.ini config.ini
cp sample_config.py config.py
- Edit
config.ini
andconfig.py
with your own values. - Follow This to route your PC or Server's audio output to audio input. [For Linux]
- If you're on windows, Follow This instead.
- Run JioSaavn Server
python3 jiosaavn/app.py
Only do this if you want to play songs from JioSaavn too - Run the bot
python3 tgvcbot.py
- Open Telegram and start voice chat.
- Send commands to bot to play music.
/help
To show help screen./end
To stop any playing music./jiosaavn <song_name>
To play music from JioSaavn./ytsearch <song_name>
To search for a song on Youtube./youtube <song_link>
To play a song from YouTube./radio
To Play Radio Continuosly.
- More services will be added soon.
- If you want any help you can ask here
https://github.com/cyberboysumanjay/JioSaavnAPI
[For JioSaavnAPI]