Skip to main content

CodeFactor

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.4.tar.gz (7.2 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.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file miraculous-1.4.tar.gz.

File metadata

  • Download URL: miraculous-1.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.10.0a7

File hashes

Hashes for miraculous-1.4.tar.gz
Algorithm Hash digest
SHA256 cec59309ef22a1190e4c60f8b83f244d91df6ba6083c710cf362212174686293
MD5 b05c06fb8051c223d157ddf1ea40111a
BLAKE2b-256 81300445bdfed6847e6a0ea37d0acaa99bd7c827fe29515f0727a9d517550687

See more details on using hashes here.

File details

Details for the file miraculous-1.4-py3-none-any.whl.

File metadata

  • Download URL: miraculous-1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84f891a4bbfc5c1130ad8334adb2f038512319768d3c3a6d0a433a0efa4c9866
MD5 8da067ae532d35a9bccbbccc9fe3bf92
BLAKE2b-256 7a474df0b2f437bc8cb8b6f9de7795cb80ea7b1c5571a6ee4f5f5e1fdec54307

See more details on using hashes here.

Release history Release notifications | RSS feed

1.8.9

1 file

1.8.8

1 file

1.8.7

1 file

1.8.6

1 file

1.8.5

2 files

1.8.4

2 files

1.8.3

2 files

1.8.2

2 files

1.8.1

1 file

1.8

1 file

1.7.9

1 file

1.7.8

1 file

1.7.7

1 file

1.7.5

1 file

1.7.4

2 files

1.7.3

2 files

1.7.2

1 file

This release

1.4 This release

2 files

1.3

1 file

1.2

1 file

1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page