Pre-release
This release is a pre-release and may not be stable for production use.
Music-bot
Greeting! Welcome to my miraculous bot repository! Here's how to setup!
Setup process
- 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
- 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
What I just don't fixed yet?
- Sound doesn't change when looping
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!
Metadata
Release files for miraculous 1.7b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| miraculous-1.7b0.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miraculous-1.7b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / miraculous-1.7b0.tar.gz
| Download URL | miraculous-1.7b0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dbeb4c7d97b36135edd8961b5a1503dcdd1e69fa0ba2ac6f256c5d9ed779301
|
|
BLAKE2b-256 checksum How to use checksums |
580f4759f49e4f78d37a2f84af7f6379a00a1f5ba68b43438a525dd2100ed642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / miraculous-1.7b0-py3-none-any.whl
| Download URL | miraculous-1.7b0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98867d158a06008f13540b0466a89c5b99c1065fb3621d68e0c60f4c557d5551
|
|
BLAKE2b-256 checksum How to use checksums |
ed93e736c13c3e0bedd4c0ef7c7b23520ca0f44a42c62e987436a82d5387041c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|