Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Telegram Voice Chat Bot Written In Python Using Pytgcalls & Pyrogram.

License

Notifications You must be signed in to change notification settings

TheHamkerCat/Telegram_VC_Bot

Repository files navigation

Telegram Voice-Chat Bot [WIP]

Just Another [Obviously better!] Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group

Requirements

  • 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

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.ini config.ini
  5. cp sample_config.py config.py
  6. Edit config.ini and config.py with your own values.
  7. Follow This to route your PC or Server's audio output to audio input. [For Linux]
  8. If you're on windows, Follow This instead.
  9. Run JioSaavn Server python3 jiosaavn/app.py Only do this if you want to play songs from JioSaavn too
  10. Run the bot python3 tgvcbot.py
  11. Open Telegram and start voice chat.
  12. Send commands to bot to play music.

Commands

  1. /help To show help screen.
  2. /end To stop any playing music.
  3. /jiosaavn <song_name> To play music from JioSaavn.
  4. /ytsearch <song_name> To search for a song on Youtube.
  5. /youtube <song_link> To play a song from YouTube.
  6. /radio To Play Radio Continuosly.

Note

  1. More services will be added soon.
  2. If you want any help you can ask here

Credits

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