Skip to content

AkshiTChauhan-max/Telegram_VC_Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Voice-Chat Bot

Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group

Support

  1. All linux based oses
  2. Windows

Diagram

Requirements

pkg install mpv - for Android, sudo apt-get install mpv - for ubuntu, sudo pacman -S mpv - for ArchLinux, I use arch btw

Run

  1. git clone https://github.com/thehamkercat/Telegram_VC_Bot, to download the source code.
  2. cd Telegram_VC_Bot, to enter the directory.
  3. pip3 install -r requirements.txt, to install the requirements.
  4. cp sample_config.py config.py
  5. Edit config.py with your own values.
  6. If you are on linux follow this instruction to set up vnc. If you are using windows you can skip this step.
  7. Download Telegram desktop from https://desktop.telegram.org , Log in using your second account, and connect to the voice chat in your group.
  8. Follow This to route your PC or Server's audio output to audio input. [For Linux]
  9. If you're on windows, Follow This instead.
  10. Run the bot python3 main.py
  11. Open Telegram and start voice chat.
  12. Send commads to bot to play music.

Commands

Command Description
/help Show help screen.
/end Stop any playing music.
/jiosaavn <song_name> Play music from JioSaavn.
/youtube <song_name> or <song_link> Search for a song and play the top-most one or play with a link.
/playlist <youtube_playlist_link> Play a all videos in a youtube playlist.
/telegram Play a song from telegram file.
/radio Play radio continuosly.
/black Blacklist a user.
/white Whitelist a user.
/users Get a list of blacklisted users.

Note

  1. More services will be added soon.
  2. Termux is not completely supported yet, might take a week or two.
  3. If you want any help you can ask here

Credits

  1. https://github.com/cyberboysumanjay/JioSaavnAPI [For JioSaavnAPI]

About

Telegram Voice-Chat Bot Written In Pyrogram.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%