Skip to content

TeamShizu/KingdomMusic

Repository files navigation


Kingdom Music is an advance telegram bot project that's allow you to play music and videos on telegram voice chat group



Codacy

Requirements 📝

Video Tutorial:

Complete guide on deploying clone on Heroku.

☆ Video by Mr RG YTYouTube

🧪 Get SESSION_NAME from below:

GenerateString Pyrogram

📌 Vars For Okteto.com:

API_ID 
API_HASH
BOT_USERNAME
ASSISTANT_NAME
GROUP_SUPPORT 
UPDATES_CHANNEL
OWNER_NAME 
ALIVE_NAME
OWNER_ID
SUDO_USERS
DATABASE_URL 
LOG_CHANNEL
SESSION_NAME 
BOT_TOKEN 
BOT_NAME

🎖 History

Mentioned in Awesome Python

Features 🔮

  • Thumbnail Support
  • Playlist Support
  • Youtube, Local playback support
  • Settings panel
  • Control with buttons
  • Userbot auto join
  • Keyboard selection support for youtube play
  • Lyrics Scrapper
  • Unlimited Queue
  • Broadcast Bot
  • Statistic Collector
  • Block / Unblock (restrict user for using your bot)

Commands 🛠

  • /cplay <song name> - play song you requested in channels
  • /cstream <song name> - play music stream you requested in channels
  • /play <song name> - play song you requested in groups
  • /vplay <song name> - play song you requested with video in groups
  • /vstream <song name> - play video stream you requested in groups
  • /playlist - Show now playing list
  • /song <song name> - download songs you want quickly
  • /search <query> - search videos on youtube with details
  • /vsong <song name> - download videos you want quickly
  • /lyric <song name> - lyrics scrapper

Admins Only 👷‍♂️

  • /player - open music player settings panel
  • /pause - pause song play
  • /resume - resume song play
  • /skip - play next song
  • /end - stop music play
  • /music on - to disable music player in your group
  • /music off - to enable music player in your group
  • /join - invite assistant to your chat
  • /leave - remove assistant from your chat
  • /reload - Refresh admin list
  • /uptime - check the bot uptime status
  • /ping - check the bot ping status
  • /auth - authorized people to access the admin commands
  • /unauth - deauthorized people to access the admin commands
  • /control - open the music player control panel

Sudo User 🧙‍♂️

  • /stats - see the bot statistic
  • /leaveall - order the assistant to leave all groups
  • /eval (query) - execute any code
  • /sh (query) - run any code

Owner Only 👨🏻‍✈️

  • /broadcast - send a broadcast message from the bot
  • /block - block people for using your bot
  • /unblock - unblock people you blocked for using your bot
  • /blocklist - show the list of all people who's blocked for using your bot

🔎 Inline Search Support

  • just type the bot username in any chat, example: "@TeleStream_herobot Faded Alan Walker", then bot will give you a results of the query you search in inline mode.

Heroku Deployment

The easy way to host this bot, deploy to Heroku, Change the app country to Europe (it will help to make the bot stable).

Deploy

Okteto Deployment 📌

VPS Deployment 📡

sudo apt update && apt upgrade -y
sudo apt install git curl python3-pip ffmpeg -y
pip3 install -U pip
curl -sL https://deb.nodesource.com/setup_16.x | bash -
sudo apt-get install -y nodejs
npm i -g npm
git clone https://github.com/TeamShizu/KingdomMusic.git # clone the repo.
cd KingdomMusic
pip3 install -U -r requirements.txt
cp example.env .env # use vim to edit ENVs
vim .env # fill up the ENVs (Steps: press i to enter in insert mode then edit the file. Press Esc to exit the editing mode then type :wq! and press Enter key to save the file).
python3 main.py # run the bot.

Special Credits 💖

Support & Updates 🎑

Releases

No releases published

Packages

No packages published

Languages