Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CodeFactor Upload Python Package

Music-bot

Greeting! Welcome to my miraculous bot repository! Here's how to setup!

Setup process

  1. If you gonna host on your pc edit last line to be bot.run("token"). If you're gonna host on repl add .env file and add TO=token. If you're gonna to host with heroku I have file ready for you just edit config var to be KEY TO VALUE bot token
  2. Then fire it up it should show your bot name id and stuff Default prefix is "m." you can change at bot variable

But I just download this from pypi

Just use

import miraculous

miraculous.login("bot token")

What I just fixed?

  • Not realtime volume changing
  • Loop don't work
  • Pausing and Resuming is not work
  • Changed how it play music without downloading

Errors?

Please ensure you have all module by do

pip install -r requirements.txt

And check your token is not exposed if it is it may lead to this message

python3 main.py
Removing cache dir /home/runner/.cache/youtube-dl ..
Traceback (most recent call last):
  File "main.py", line 519, in <module>
    bot.run(os.getenv("TOr"))
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 723, in run
    return future.result()
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 702, in runner
    await self.start(*args, **kwargs)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 665, in start
    await self.login(*args, bot=bot)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 511, in login
await self.http.static_login(token.strip(), bot=bot)
AttributeError: 'NoneType' object has no attribute 'strip'

Love!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miraculous-1.7.1b0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miraculous-1.7.1b0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file miraculous-1.7.1b0.tar.gz.

File metadata

  • Download URL: miraculous-1.7.1b0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for miraculous-1.7.1b0.tar.gz
Algorithm Hash digest
SHA256 ef5ed8b266723e3469e70e75f5a505865a7fdcebfd82f55d6daca65f6893b9d4
MD5 1b2b4bc87efa895c9997fd70c545181e
BLAKE2b-256 d838c19678c54854fc5ae77e9127dacb2c3896ba1cab83b98508ac6938fbdbd0

See more details on using hashes here.

File details

Details for the file miraculous-1.7.1b0-py3-none-any.whl.

File metadata

  • Download URL: miraculous-1.7.1b0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for miraculous-1.7.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 66e857465f8a74e7a116457c4c2350704115b70bf9ba66505f41d2fcd7345183
MD5 b9ea87efe20168b9b197658105dbc993
BLAKE2b-256 7b26c5e5f7fa9c6bbb93c7b374cb8992b746da190b41cecb1011d46d8ffbe0e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page