- Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group.
- Uses MPV Player for Playing! with Queue supported.
- Enjoy 320Kbps Meowzik with Telegram x64 Radio Mode.
- All linux based os.
- Windows.
- Mac.
Python receives bot commands using pyrogram client which processes to play via mpv player. Using pulseaudio we can route our audio to telegram desktop.
- Python 3.9 or higher
- 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 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!
git clone https://github.com/Devanagaraj/Tg_Meowzik_Bot
, to download the source code.cd Tg_Meowzik_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 x64 desktop from https://t.me/tg_x64 , Log in using your second account, and enable radio mode in settings/advanced settings and then 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.
#Tutorial video
Watch The Video Tutorial if you still can't do this Youtube - How to deploy the Telegram Voice Chat Bot on VPS using Ubuntu/Debian [Thanks to t.me/ri5h46h]
Command | Description |
---|---|
/help | To Show This Message. |
/saavn <song_name> | To search and Play A Song From Jiosaavn. |
/playlist | Saavn_playlist_link or Playlist Name" To Search and Add all songs to Queue and Play. |
/youtube <song_name> | To Search For A Song And Play The Top-Most Song Or Play With A Link. |
/telegram | To Play A Song Directly From Telegram File. |
/deezer | To Play A Song From Deezer. |
/queue | To See Queue List. |
/skip | To Skip Any Playing Music. |
Admin Commands: | |
/clearqueue | It clears entire Queue in a snap. |
- More updates will be added soon.
- Termux is supported using debian inside termux.
- If you want any help you can ask here
https://github.com/thehamkercat
[for His Telegram_VC_Bot]