Just Another [Obviously better!] Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group
- All linux based os, including android [Yes android is also supported through Termux]
- Windows
- Python 3.6 or higher
- A Telegram API key
- A Telegram bot token
- Bot needs to be admin in the chat, atleast give message delete permissions.
- Install
mpv
with
pkg install mpv
- for Android, 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 commads to bot to play music.
Command | Description |
---|---|
/help | Show help screen. |
/end | Stop any playing music. |
/jiosaavn <song_name> | Play music from JioSaavn. |
/ytsearch <song_name> | Search for a song on Youtube. |
/youtube <song_link> | Play a song from YouTube. |
/playlist <youtube_playlist_link> | Play a all videos in a youtube playlist. |
/radio | Play radio continuosly. |
/black | Blacklist a user. |
/white | Whitelist a user. |
/users | Get a list of blacklisted users. |
- More services will be added soon.
- If you want any help you can ask here
https://github.com/cyberboysumanjay/JioSaavnAPI
[For JioSaavnAPI]