Skip to content

A Telegram Userbot to play songs in Telegram Voice Chats

License

Notifications You must be signed in to change notification settings

Digital-Himanshu/TG-MusicPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TG-MusicPlayer

A Telegram Userbot to play songs 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 FFMPEG and Git
sudo apt-get install git ffmpeg -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 !)

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 songs in Telegram Voice Chats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published