Coder Social home page Coder Social logo

kry9ton / krypton-music-bot Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 118.0 36 MB

UserBot/Bot Telegram Voice Calls Music

License: GNU General Public License v3.0

Python 98.53% Dockerfile 1.47%
tgcalls voice-calls telegram-bot telegram-bot-python telegram-music-bot bot voice-chat telegram krypton-music-bot music

krypton-music-bot's Introduction

KryPtoN Music Bot

Actions Badge Codacy Badge

Watch Badge Start Badge Fork Badge

Music on Voice Calls Telegram

Image Preview

Support

  • Python 3.7 or above
  • All distro linux (Ubuntu 18.04 not work)
  • Windows
  • Mac

Requirements

  • Telegram API_ID and API_HASH Get here
  • Python 3.7 or higher
  • Needs user account not bot from bot father
  • Install ffmpeg

Usage

Install package required

$ git clone https://github.com/Kry9toN/KryPtoN-Music-Bot
$ cd KryPtoN-Music-Bot
$ pip install -r requirements.txt

Setup config configs.py and edit

Execute!

$ python3 -m krypton

Heroku

Heroku Badge

Generate String session [IMPORTANT]

Download this file generate_string_session.py

$ pip3 install pyrogram TgCrypto
$ python3 generate_string_session.py

You will get a session string, copy it, Then use heroku commands to push to heroku

Commands

Command Description
/start To Start The bot.
/help To Show This Message.
/ping To Show Latency Bot.
/skip To Skip The Current Playing Music.
/play youtube/saavn/deezer song_name
/stop To Stop Playing Music.
/join To Join A Voice Chat.
/leave To Leave A Voice Chat.
/mute To Mute A Bot.
/unmute To Unmute A Bot.
/volume <1-200>
/kill To Kill A Sevice Bot.
/donation To Give Me A Coffe.

To-Do

  • add moar feature

Donation

License

GPL-3.0 License KryPtoN © 2021

Credit

krypton-music-bot's People

Contributors

kry9ton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

krypton-music-bot's Issues

struct error

2021-04-13T20:15:09.354971+00:00 app[worker.1]: File "/usr/local/lib/python3.8/dist-packages/pyrogram/storage/memory_storage.py", line 38, in open
2021-04-13T20:15:09.354971+00:00 app[worker.1]: dc_id, test_mode, auth_key, user_id, is_bot = struct.unpack(
2021-04-13T20:15:09.354971+00:00 app[worker.1]: struct.error: unpack requires a buffer of 263 bytes
2021-04-13T20:15:09.354978+00:00 app[worker.1]: [INFO] Bot is running...
2021-04-13T20:15:09.354978+00:00 app[worker.1]:

how to fix

Supporting

Add supporting many chat(bot connect to many group)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.