A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats.
It's made with PyTgCalls and Pyrogram
- Python 3.8+
- FFMPEG
- Nodejs v16+
- Installing NodeJS
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
- Installing Dependencies
sudo apt-get install git ffmpeg -y
sudo apt-get install youtube-dl -y
- Cloning the Repo
git clone https://github.com/Lost-In-Dark/TG-MusicPlayer
cd TG-MusicPlayer
-
Rename
example.env
to.env
and Fill in the Environment Variables -
Installing Requirements
pip3 install -U -r requirements.txt
- Run the Bot
python3 main.py
API_ID
API_HASH
SESSION
- A Pyrogram String Session. Get one from HereHNDLR
- Your Userbot Handler (Default is !)GROUP_MODE
- if Value is set toTrue
, Anyone can Play. Set it toFalse
to restrict play access to Sudo Users/Contacts only.
- Start the Userbot, check if the Userbot is running by
!ping
. - Commands of this userbot are accessible to and can be used by the Account itself and it's Contacts.
- Check
!help
for commands.