A discord.py bot ready to use!
Project description
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
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!
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for miraculous-1.7.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a253e6cef32249ea0393d49d803afcb57294dcab2a8af9aea82e5428d9ec9c |
|
MD5 | c94d483e50327ec84856eb0685abc895 |
|
BLAKE2b-256 | 331b22c7de9563e14f70663b359ce0f18a9b166b656c09fe93726e2eff9f5fc0 |