Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.51 KB

README.md

File metadata and controls

78 lines (53 loc) · 2.51 KB

Tesla MusicBot [ Pytgcalls ]

Telegram VoiceChat Bot To Play Music With Pytgcalls From Various Sources In Your Group.

TeslaMusicBot.mp4

Account requirements

  • A Telegram account to use as the music bot, You cannot use regular bot accounts, as they cannot join voice chats. It must be a user account.
  • API_ID and API_HASH for that account.
  • The account must be an admin of the chat, with Manage Voice Chats and Delete Messages permissions.



Deploying

  • Heroku:

Generate String session [IMPORTANT]

or

Then you will get a session string, copy it, then press heroku deploy button.

Deploy To Heroku

Now use these Commands, to play music.


  • Local machine/VPS:

git clone https://github.com/MadBoy-X/MusicBot
pip install -r requirements.txt
apt-get install ffmpeg
touch .env && nano .env, fill in the vars as in .env.sample
python bot.py




Commands:

  • {PREFIX}on - Check if the (user)bot is online. [DEFAULT »» !on]
  • {PREFIX}help - Help message. [DEFAULT »» !help]
  • {PREFIX}stream - Either give a youtube URL or reply to a telegram file to play it. [DEFAULT »» !stream]
  • {PREFIX}pause - Pause the stream. [DEFAULT »» !pause]
  • {PREFIX}resume - Yes, resume. [DEFAULT »» !resume]



Note

  • If you want any help you can ask Here



Credits 📍

• MADBOY »» {DEV}

• PRANAV »» {DEV}



Special Thanks to :