NEUTRON Bot To Play Music From Various Sources In Your Group... Edited version of this epic 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]
- All linux based oses
- 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 UBUNTU 20.04
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.py
with 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 instead.
- Run the bot
python3 main.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. |
/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. |
- More services will be added soon.
- Termux is not completely supported yet, might take a week or two.
https://github.com/cyberboysumanjay/JioSaavnAPI
[For JioSaavnAPI]