/neutron

Telegram voice chat bot in pyrogram. a forked version of thehamkercat's TELEGRAM_VC_BOT (@tg_vcbot on telegram)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

NEUTRON BOT

NEUTRON Bot To Play Music From Various Sources In Your Group... Edited version of Telegram VC bot This bot is same as Telegram VC Bot.... But without youtube command as jiosaavn as better quality as well as I think indeed it is not needed... [And with admins feature... You can choose who can use your bot... this will come soon... lol... queue coming soon]

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 UBUNTU 20.04

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.

Credits

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