Telegram Voice-Chat Bot Written In Python Using Pyrogram.

Overview

Telegram Voice-Chat Bot

Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group

Support

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

Diagram

Requirements

  • Python 3.6 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/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 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.

Watch The Video Tutorial if you still can't do this

How to deploy the Telegram Voice Chat Bot on VPS using Ubuntu/Debian

Commands

Command Description
/start To Start The bot.
/help To Show This Message.
/ping To Ping All Datacenters Of Telegram.
/end To Stop Any Playing Music (only works for current user playing and to Admins).
/jiosaavn <song_name> To Play A Song From Jiosaavn.
/youtube <song_name> or <song_link> To Search For A Song And Play The Top-Most Song Or Play With A Link.
/playlist <youtube_playlist_url> To Play A Playlist From Youtube.
/telegram To Play A Song Directly From Telegram File.
/radio To Play Radio Continuosly.
/users To Get A List Of Blacklisted Users.
/deezer To Play A Song From Deezer.
Admin Commands:
/black To Blacklist A User.
/white To Whitelist A User.

Note

  1. More services will be added soon.
  2. Termux is not completely supported yet, might take a week or two.
  3. If you want any help you can ask here

Credits

  1. https://github.com/cyberboysumanjay/JioSaavnAPI [For JioSaavnAPI]
Owner
TheHamkerCat
17 | Arch btw
TheHamkerCat
:speech_balloon: SpeechPy - A Library for Speech Processing and Recognition: http://speechpy.readthedocs.io/en/latest/

SpeechPy Official Project Documentation Table of Contents Documentation Which Python versions are supported Citation How to Install? Local Installatio

Amirsina Torfi 870 Dec 27, 2022
Manipulate audio with a simple and easy high level interface

Pydub Pydub lets you do stuff to audio in a way that isn't stupid. Stuff you might be looking for: Installing Pydub API Documentation Dependencies Pla

James Robert 6.6k Jan 01, 2023
Voice package for Pycord adding extra features.

VoiceIO Voice package for Pycord adding extra features. Example Down bellow is an example of what you can currently do. import voiceio process = voic

pycord 1 Dec 24, 2021
Python tools for the corpus analysis of popular music.

CATCHY Corpus Analysis Tools for Computational Hook discovery Python tools for the corpus analysis of popular music recordings. The tools can be used

Jan VB 20 Aug 20, 2022
Audio processor to map oracle notes in the VoG raid in Destiny 2 to call outs.

vog_oracles Audio processor to map oracle notes in the VoG raid in Destiny 2 to call outs. Huge thanks to mzucker on GitHub for the note detection cod

19 Sep 29, 2022
A tool for retrieving audio in the past

Rewinder A tool for retrieving audio in the past. Ever felt like, I need to remember that discussion which happened 10 min back. Now you can! Rewind a

Bharat 1 Jan 24, 2022
Welcome to Nexus. Your personal virtual assistant

AI Voice Assistant Welcome to Nexus voice assistant Description Have you ever heard of voice assistants like Cortana, Siri, Google assistant, and Alex

Mustafah Zacs 1 Jan 10, 2022
commonfate 📦commonfate 📦 - Common Fate Model and Transform.

Common Fate Transform and Model for Python This package is a python implementation of the Common Fate Transform and Model to be used for audio source

Fabian-Robert Stöter 18 Jan 08, 2022
🎵 A music bot for discord servers!

music bot A music bot for Discord Servers Features Play songs in your discord server Get the lyrics without going on a web explorer Commands Command P

1 Jul 25, 2022
A telegram bot for which is help to play songs in vc 🥰 give 🌟 and fork this repo before use 😏

TamilVcMusic 🌟 TamilVCMusicBot 🌟 Give your 💙 Before clicking on deploy to heroku just click on fork and star just below How to deploy Click the bel

TamilBots 150 Dec 13, 2022
Small Python application that links a Digico console and Reaper, handling automatic marker insertion and tracking.

Digico-Reaper-Link This is a small GUI based helper application designed to help with using Digico's Copy Audio function with a Reaper DAW used for re

Justin Stasiw 10 Oct 24, 2022
Audio spatialization over WebRTC and JACK Audio Connection Kit

Audio spatialization over WebRTC Spatify provides a framework for building multichannel installations using WebRTC.

Bruno Gola 34 Jun 29, 2022
gentle forced aligner

Gentle Robust yet lenient forced-aligner built on Kaldi. A tool for aligning speech with text. Getting Started There are three ways to install Gentle.

1.2k Dec 30, 2022
A2DP agent for promiscuous/permissive audio sinc.

Promiscuous Bluetooth audio sinc A2DP agent for promiscuous/permissive audio sinc for Linux. Once installed, a Bluetooth client, such as a smart phone

Jasper Aorangi 4 May 27, 2022
Python library for audio and music analysis

librosa A python package for music and audio analysis. Documentation See https://librosa.org/doc/ for a complete reference manual and introductory tut

librosa 5.6k Jan 06, 2023
PyAbsorp is a python module that has the main focus to help estimate the Sound Absorption Coefficient.

This is a package developed to be use to find the Sound Absorption Coefficient through some implemented models, like Biot-Allard, Johnson-Champoux and

Michael Markus Ackermann 8 Oct 19, 2022
無料で使える中品質なテキスト読み上げソフトウェア、VOICEVOXのコア

無料で使える中品質なテキスト読み上げソフトウェア、VOICEVOXのコア

Hiroshiba 0 Aug 29, 2022
Algorithmic Multi-Instrumental MIDI Continuation Implementation

Matchmaker Algorithmic Multi-Instrumental MIDI Continuation Implementation Taming large-scale MIDI datasets with algorithms This is a WIP so please ch

Alex 2 Mar 11, 2022
Code for paper 'Audio-Driven Emotional Video Portraits'.

Audio-Driven Emotional Video Portraits [CVPR2021] Xinya Ji, Zhou Hang, Kaisiyuan Wang, Wayne Wu, Chen Change Loy, Xun Cao, Feng Xu [Project] [Paper] G

197 Dec 31, 2022
We built this fully functioning Music player in Python. The music player allows you to play/pause and switch to different songs easily.

We built this fully functioning Music player in Python. The music player allows you to play/pause and switch to different songs easily.

1 Nov 19, 2021