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!
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.6b0.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miraculous-1.6b0.tar.gz.
File metadata
- Download URL: miraculous-1.6b0.tar.gz
- Upload date:
- Size: 7.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7410bb0f074a74f025628a090afae482ac12ffc6b920ecbc8453554ad5c9b3d3
|
|
| MD5 |
3b2db73abf15f580037312ba5e6bf900
|
|
| BLAKE2b-256 |
5af5b456a7529c2729064703c09fc039badb7d53240c6bc3e8df437a5b26d9f8
|
File details
Details for the file miraculous-1.6b0-py3-none-any.whl.
File metadata
- Download URL: miraculous-1.6b0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
295d1542651049d2f131a4a4fe3a2d2803a70966a93e4103ebd2396bd7bb8bbb
|
|
| MD5 |
4b68d94e09d4112d47a07518434a91c5
|
|
| BLAKE2b-256 |
02a576d1472fc30fdc08e058fa3a7c613e2a49a514a3e6be9d71fc4d1a9f7e77
|