/MusicBot

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Tesla MusicBot

A bot that can play music on Telegram Group and Channel Voice Chats

TeslaMusicBot.mp4

POWERED BY PYTGCALLS

Available on telegram as @TeslaMusicRoBot

UserBot Helper : @TeslaMusicPlayer

Features 🔥

  • Thumbnail Support
  • Playlist Support
  • Current playback support
  • Showing track names when skipping
  • Zero downtime, Fully Stable
  • Deezer,Youtube & Saavn playback support
  • Settings panel
  • Control with buttons
  • Userbot auto join
  • Channel Music Play
  • Keyboard selection support for youtube play



🚀 Deployment

  • 🌐 Heroku:

Generate String session [IMPORTANT]

  • Get it by running this GenerateString

or

  • Run this file str.py locally.

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

Deploy To Heroku


  • ⚔ Self-hosting:
# Install Git First (apt-install git)
$ git clone https://github.com/madboy482/MusicBot
$ cd MusicBot
# Upgrade sources
# Install All Requirements 
$ pip3 install -r requirements.txt
# Rename example.env to local.env and fill
$ npm i -g npm
# Start Bot 
$ python3 -m MusicBot



Commands for Group 🛠

For all in group

  • /play <song name> - play song you requested
  • /play <reply to audio> - play replied file
  • /dplay <song name> - play song you requested via deezer
  • /splay <song name> - play song you requested via jio saavn
  • /ytplay <song name>: Directly play song via Youtube Music
  • /playlist - Show now playing list
  • /current - Show now playing
  • /song <song name> - download songs you want quickly
  • /search <query> - search videos on youtube with details
  • /deezer <song name> - download songs you want quickly via deezer
  • /saavn <song name> - download songs you want quickly via saavn
  • /video <song name> - download videos you want quickly

Admins only.

  • /player - open music player settings panel
  • /pause - pause song play
  • /resume - resume song play
  • /skip - play next song
  • /end - stop music play
  • /userbotjoin - invite assistant to your chat
  • /userbotleave - remove assistant from your chat
  • /admincache - Refresh admin list
  • /musicplayer [on/off] - Enable/Disable Music Player

Commands for Channel Music Play 🛠

For linked group admins only:

  • /cplay <song name> - play song you requested
  • /cplay <reply to link> - play replied youtube link
  • /cplay <reply to audio> - play replied file
  • /cdplay <song name> - play song you requested via deezer
  • /csplay <song name> - play song you requested via jio saavn
  • /cplaylist - Show now playing list
  • /cccurrent - Show now playing
  • /cplayer - open music player settings panel
  • /cpause - pause song play
  • /cresume - resume song play
  • /cskip - play next song
  • /cend - stop music play
  • /userbotjoinchannel - invite assistant to your chat
  • channel is also can be used instead of c

If you don't like to play in linked channel:

  1. Get your channel ID.
  2. Rename your group to: Channel Music: your_channel_id
  3. Add @TeslaMusicRoBot as Channel admin with full perms
  4. Add helper to channel (@TeslaMusicPlayer)
  5. Simply send commands in your group.

Commands for Sudo Users ⚔️

  • /userbotleaveall - remove assistant from all chats
  • /gcast <reply to message> - globally brodcast replied message to all chats
  • /pmpermit [on/off] - enable/disable pmpermit message

PmPermit

  • .a - approove someone to pm you
  • .da - disapproove someone to pm you
  • Sudo Users can execute any command in any groups



Credits 😊

• MADBOY »» {DEV}

• PRANAV »» {DEV}



Special Credits --



Special Thanks to :

This bot is based on the original work done by Rojserbest. Without his hardwork Tesla Music Bot won't exist.

Tesla Music Bot is a modified version of Callsmusic that fits the needs of @TeslaMusicRoBot users.