TG-MusicPlayer
A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats.
It's made with PyTgCalls and Pyrogram
Requirements
- Python 3.8+
- FFMPEG
- Nodejs v16+
Deployment
Heroku
Local Deploy
- 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/userderdead/tgvc-userbot
cd usermusicbot
-
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
Environment Variables
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.
Commands and Usage
- 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.