Utilities and JSON Database support #51
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "2.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
I added utilities and simplified some code. I also added a base to color support, so you can pass in hexidecimal values in a Colour object. My friend and maintainer of EDPY dank Had0cK helped me with some utilities, thank you!
Feel free to comment on things I could have done, and change the code accordingly(to maintainers).
This is the first pull request I have made, so please tell me about anything I could have improved.
Most documentation is in code(like with """""").
Checklist
All of this is either:
x is None
tonot x
)Embed
instances)The docstrings also do not follow the same format as the rest of the lib, causing docs to most likely fail to build.
Sorry about the JSON DB thing(discord/ext/json), Just realized how slow it is. to remove it, remove discord/ext/json, sorry
Color already supports hexadecimal values, prefix with 0x and they work? String parsing is a bad idea. Also json extension is a dumb idea, please use databases.
Pull request closed