Skip to content

illuminati124/TG-MusicPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Deploy

Local Deploy

  1. Installing NodeJS
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
  1. Installing Dependencies
sudo apt-get install git ffmpeg -y
sudo apt-get install youtube-dl -y
  1. Cloning the Repo
git clone https://github.com/Lost-In-Dark/TG-MusicPlayer
cd TG-MusicPlayer
  1. Rename example.env to .env and Fill in the Environment Variables

  2. Installing Requirements

pip3 install -U -r requirements.txt
  1. Run the Bot
python3 main.py

Environment Variables

  • API_ID
  • API_HASH
  • SESSION - A Pyrogram String Session. Get one from Here
  • HNDLR - Your Userbot Handler (Default is !)
  • GROUP_MODE - if Value is set to True, Anyone can Play. Set it to False to restrict play access to Sudo Users/Contacts only.

Commands and Usage

  1. Start the Userbot, check if the Userbot is running by !ping.
  2. Commands of this userbot are accessible to and can be used by the Account itself and it's Contacts.
  3. Check !help for commands.

Credits ✨

About

A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats

Resources

License

Stars

Watchers

Forks

Packages

No packages published