Skip to content

Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group Uses MPV Player for Playing! with Queue supported.

License

Notifications You must be signed in to change notification settings

Devanagaraj/Tg_Meowzik_Bot

Repository files navigation

TG Meowzik Bot

  • 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.

Support

  1. All linux based os.
  2. Windows.
  3. Mac.

Working

Python receives bot commands using pyrogram client which processes to play via mpv player. Using pulseaudio we can route our audio to telegram desktop.

Requirements

  • 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

Run

  1. git clone https://github.com/Devanagaraj/Tg_Meowzik_Bot, to download the source code.
  2. cd Tg_Meowzik_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 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.
  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 or install Virtual Audio Cable instead.
  10. Run the bot python3 main.py
  11. Open Telegram and start voice chat.
  12. 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]

Commands

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.

Note

  1. More updates will be added soon.
  2. Termux is supported using debian inside termux.
  3. If you want any help you can ask here

Credits

  1. https://github.com/thehamkercat[for His Telegram_VC_Bot]

About

Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group Uses MPV Player for Playing! with Queue supported.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published