Telegram music bot python

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

MAKE YOUR OWN ADVANCE TELEGRAM MUSIC BOT

License

dev-logesh/music-player

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  Кликабельное изображение в html

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls

A Support Group and ready-to-use running instance of this bot can be found on Telegram
TRAILE BOT | LOGI

NotReallyShikhar Github

Install Locally Or On A VPS

shikhar@MacBook~ $ git clone https://github.com/LOGI-LAP/music-bot shikhar@MacBook~ $ cd music-bot shikhar@MacBook~ $ pip3 install -U -r requirements.txt shikhar@MacBook~ $ cp sample.env .env

Edit .env with your own values and Run Bot

shikhar@MacBook~ $ bash start

alt text

Generating Pyrogram Session

shikhar@MacBook~ $ git clone https://github.com/LOGI-LAP/music-bot shikhar@MacBook~ $ cd music-bot shikhar@MacBook~ $ pip3 install pyrogram TgCrypto shikhar@MacBook~ $ python3 gen_session.py
  1. API_ID : Assistant Account Telegram API_ID, get it from my.telegram.org
  2. API_HASH : Assistant Account Telegram API_HASH, get it from my.telegram.org
  3. BOT_TOKEN : Your Telegram Bot Token, get it from @Botfather (Make sure Inline is turned On)
  4. SESSION_STRING : Pyrogram Session String of Assistant Account.
  5. MUSIC_BOT_NAME : A name for your Music bot.
  6. MONGO_DB_URI : MongoDB Database URL.
  7. LOG_GROUP_ID : Chat ID where bot will log everything. Use Group Chats Only.
  8. DURATION_LIMIT : Duration Limit for Music (Mins)
  9. SUDO_USERS : Sudo Users for Bot. (For multiple users seperate IDs with space)
  10. OWNER_ID : Owner ID of Bot
  11. SUPPORT_GROUP : Support Group Link (Leave blank if you don’t have one)
  12. SUPPORT_CHANNEL : Support Channel Link ( Leave blank if you don’t have one)
  13. ASSISTANT_PREFIX : Prefix for Assistant Commands

Distributed under the GNU General Public License v3.0 License. See LICENSE.md for more information.

Special thanks to these amazing projects/people which/who help power Yukki Music Bot:

About

MAKE YOUR OWN ADVANCE TELEGRAM MUSIC BOT

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group ❤️

License

AsmSafone/MusicPlayer

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls

Starts streaming your inputs while downloading and converting them. Also, it doesn’t make produce files.

Restricts control and sensitive commands to admins.

Deletes old playing trash to keep your chats clean.

Lets you switch stream mode, loop, pause, resume, mute, unmute anytime.

Response your commands with cool thumbnails on the chat.

😉 Streams whatever you like

You can stream audio or video files, YouTube videos with any duration, YouTube lives, YouTube playlists and even custom live streams like radios or m3u8 links or files in the place it is hosted!

📊 Streams in multiple places

Allows you to stream different things in multiple chats simultaneously. Each chat will have its own song queue.

🗣 Speaks different languages

Music Player is multilingual and speaks various languages, thanks to the translators.

Note: First Fork The Repo Then Click On Deploy To Heroku Button!

$ git clone https://github.com/AsmSafone/MusicPlayer $ cd MusicPlayer $ sudo apt install git curl python3-pip ffmpeg -y $ pip3 install -U pip $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - $ sudo apt install -y nodejs $ sudo apt install build-essential $ sudo npm install pm2@latest -g $ pip3 install -U -r requirements.txt $ cp sample.env .env # $ python3 main.py

Or you can use this One-Liner to save your time :

git clone https://github.com/AsmSafone/MusicPlayer && cd MusicPlayer && sudo apt install git curl python3-pip ffmpeg -y && pip3 install -U pip && curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - && sudo apt install -y nodejs && sudo apt install build-essential && sudo npm install pm2@latest -g && pip3 install -U -r requirements.txt 

Make sure to edit the .env file accordingly,

$ git clone https://github.com/AsmSafone/MusicPlayer $ cd MusicPlayer $ cp sample.env .env # $ sudo docker build . -t musicplayer $ sudo docker run musicplayer
  • API_ID : Telegram app id from https://my.telegram.org/apps.
  • API_HASH : Telegram app hash from https://my.telegram.org/apps.
  • SESSION : Pyrogram string session. You can generate from here.
  • SUDOERS : ID of sudo users (separate multiple ids with space).
  • BOT_TOKEN : Telegram bot token from https://t.me/botfather. (optional)
  • QUALITY : Custom stream quality (high/medium/low) for the userbot in vc. Default: high
  • PREFIX : Bot commad prefixes (separate multiple prefix with space). Eg: ! /
  • LANGUAGE : An available bot language (can change it anytime). Default: en
  • STREAM_MODE : An stream mode like audio or video (can change it anytime). Default: audio
  • ADMINS_ONLY : Put True if you want to make /play commands only for admins. Default: False
  • SPOTIFY_CLIENT_ID : Spotify client id get it from here. (optional)
  • SPOTIFY_CLIENT_SECRET : Spotify client secret get it from here. (optional)
Command Description
• !ping Check if alive or not
• !start / !help Show the help for commands
• !mode / !switch Switch the stream mode (audio/video)
• !p / !play [song name or youtube link] Play a song in vc, if already playing add to queue
• !radio / !stream [radio url or stream link] Play a live stream in vc, if already playing add to queue
• !pl / !playlist Play the whole youtube playlist at once
• !skip / !next Skip to the next song
• !m / !mute Mute the current stream
• !um / !unmute Unmute the muted stream
• !ps / !pause Pause the current stream
• !rs / !resume Resume the paused stream
• !list / !queue Show the songs in the queue
• !mix / !shuffle Shuflle the queued playlist
• !loop / !repeat Enable or disable the loop mode
• !lang / language [language code] Set the bot language in group
• !ip / !import Import queue from exported file
• !ep / !export Export the queue for import in future
• !stop / !leave Leave from vc and clear the queue
• !update / !restart Update and restart your music player
en English de German te Telegu 

New languages, bug fixes and improvements following our contribution guidelines are warmly welcomed!

For any kind of help join our support group or raise an issue.

Music Player is licenced under the GNU Affero General Public License v3.0. Read more here.

About

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group ❤️

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Telegram Group Calls Streaming bot with some useful features, written in Python with Pyrogram and Py-Tgcalls. Supporting platforms like Youtube, Spotify, Resso, AppleMusic, Soundcloud and M3u8 Links.

License

TeamYukki/YukkiMusicBot

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Yukki Music Bot is a Powerful Telegram Music+Video Bot written in Python using Pyrogram and Py-Tgcalls by which you can stream songs, video and even live streams in your group calls via various sources.

  • Youtube, Soundcloud, Apple Music, Spotify, Resso, Live Streams and Telegram Audios & Videos support.
  • Written from scratch, making it stable and less crashes with attractive thumbnails.
  • Loop, Seek, Shuffle, Specific Skip, Playlists etc support
  • Multi-Language support

The official documentation site contains a lot of information. The best place to start is from the deployment section.

⚠️ Heroku / Okteto / Railway

We have temporarily disabled the deployment for all these cloud service platforms due to security and ban issues. We don’t want innocent users who sign up there to be banned from the platform as a result of this deployment. Read More

🖇 Generating Pyrogram String Session

Checkout Docs for Detailed Explanation on VPS Deploy

Reach out to the maintainer at one of the following places:

If you want to say thank you or/and support active development of YukkiMusicBot:

  • Add a GitHub Star to the project.
  • Fork the Repo 🙂
  • Write interesting articles about the project on Dev.to, Medium or your personal blog.

Together, we can make YukkiMusicBot better!

Special thanks to these amazing projects/people which/who help power Yukki Music Bot:

Reminder that you are great, you are enough, and your presence is valued. If you are struggling with your mental health, please reach out to someone you love and consult a professional.

About

Telegram Group Calls Streaming bot with some useful features, written in Python with Pyrogram and Py-Tgcalls. Supporting platforms like Youtube, Spotify, Resso, AppleMusic, Soundcloud and M3u8 Links.

Источник

Оцените статью