Telegram Voice-Chat Bot
Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group
Support
- All linux based os.
- Windows
- Mac
Diagram
Requirements
- Python 3.6 or higher
- A Telegram bot token
- Bot needs to be admin in the chat, atleast give message delete permissions.
- Install
mpvwith
pkg install mpv - for Android, sudo apt-get install mpv - for ubuntu, sudo pacman -S mpv - for ArchLinux, I use arch btw
- For Windows Download mpv from https://sourceforge.net/projects/mpv-player-windows/files/ and run Mpv-installer as administrator the add mpv file to path envionment!
Run
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.py config.py- Edit
config.pywith your own values. - If you are on linux follow this instruction to set up vnc. If you are using windows you can skip this step.
- Download Telegram desktop from https://desktop.telegram.org , Log in using your second account, and connect to the voice chat in your group.
- Follow This to route your PC or Server's audio output to audio input. [For Linux]
- If you're on windows, Follow This or install Virtual Audio Cable instead.
- Run the bot
python3 main.py - Open Telegram and start voice chat.
- Send commads to bot to play music.
Watch The Video Tutorial if you still can't do this
How to deploy the Telegram Voice Chat Bot on VPS using Ubuntu/Debian
Commands
| Command | Description |
|---|---|
| /start | To Start The bot. |
| /help | To Show This Message. |
| /ping | To Ping All Datacenters Of Telegram. |
| /end | To Stop Any Playing Music (only works for current user playing and to Admins). |
| /jiosaavn <song_name> | To Play A Song From Jiosaavn. |
| /youtube <song_name> or <song_link> | To Search For A Song And Play The Top-Most Song Or Play With A Link. |
| /playlist <youtube_playlist_url> | To Play A Playlist From Youtube. |
| /telegram | To Play A Song Directly From Telegram File. |
| /radio | To Play Radio Continuosly. |
| /users | To Get A List Of Blacklisted Users. |
| /deezer | To Play A Song From Deezer. |
| Admin Commands: | |
| /black | To Blacklist A User. |
| /white | To Whitelist A User. |
Note
- More services will be added soon.
- Termux is not completely supported yet, might take a week or two.
- If you want any help you can ask here
Credits
https://github.com/cyberboysumanjay/JioSaavnAPI[For JioSaavnAPI]

