This PR adds a new Colour embed_background which returns a cls() for the embed color
of each discord theme (dark & light), amoled is missing.
Checklist
If code changes were made then they have been tested.
I have updated the documentation to reflect the changes.
This PR fixes an issue.
This PR adds something new (e.g. new method or parameters).
This PR is a breaking change (e.g. methods or parameters removed/renamed)
This PR is not a code change (e.g. documentation, README, ...)
<!-- Pull requests that do not fill this information in will likely be closed -->
## Summary
<!-- What is this pull request for? Does it fix any issues? -->
This PR adds a new Colour `embed_background` which returns a cls() for the embed color
of each discord theme (dark & light), amoled is missing.
## Checklist
<!-- Put an x inside [ ] to check it, like so: [x] -->
- [x] If code changes were made then they have been tested.
- [ ] I have updated the documentation to reflect the changes.
- [ ] This PR fixes an issue.
- [x] This PR adds something new (e.g. new method or parameters).
- [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
- [ ] This PR is **not** a code change (e.g. documentation, README, ...)
proguy914629bot
(Migrated from github.com)
reviewed 2021-09-19 23:44:48 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
This PR adds a new Colour
embed_backgroundwhich returns a cls() for the embed colorof each discord theme (dark & light), amoled is missing.
Checklist
you switched, it.
Also won't it be a little better with enums?
I think these might fit better as two seperate classmethods,
embed_darkandembed_lightThis should be targeting the 2.0 branch,
masteris 1.7View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.