47 Commits (71212872d8b07a9db54ae4945da75a66d5417a66)

Author SHA1 Message Date
Rapptz de941ababe Add Colour.from_str factory method 3 years ago
Kellen 0f18d93e47
Remove unused imports 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Josh 147948af9b
Use typing.Self throughout library 3 years ago
Rapptz 88b520b5ab Reformat code using black 3 years ago
Ryan c6a6c6af85
Add Colour.brand_green and Colour.brand_red 4 years ago
Rapptz 9a61a5a063 Typehint Colour.__init__ parameter 4 years ago
chromacoat dreamkey c896563af4
Fix Colour.fuchsia docstring typo 4 years ago
Dorukyum 5ad88dec72
Change Colour.blurple to new one 4 years ago
Arnav Jindal ee3e2944ba
Add Colour.fuchsia and Colour.yellow 4 years ago
Nadir Chowdhury 757cfad38f
Type up **kwargs of various methods 4 years ago
Josh c69b20c52c
Type hint colour.py 4 years ago
numbermaniac b84717fc76
Make spelling of "colour" consistent in docs 4 years ago
ppotatoo f4a861d76e
Add __int__ to discord.Colour 4 years ago
Nadir Chowdhury 89456022cf
Add `__all__` to remaining modules 4 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 4 years ago
Maselkov baa1ab058b
Add an optional seed parameter for Colour.random 4 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 4 years ago
Rapptz 6caa983b5e Clarify Colour.random RNG 4 years ago
Caio Alexandre 896a5bef1d Add Colour.random factory method 4 years ago
Josh 62040de6a7
Fix Colour.dark_theme docstring. 5 years ago
BluePhoenixGame 4b18238ade
Add discord.Colour classmethod dark_theme 5 years ago
SebbyLaw 9b24ff4f77 Add gray alias for discord.Colour 5 years ago
Skezza c3bca7ec73
Documentation formatting 5 years ago
Sebastian Law b4b953bfc6
Fix various inconsistencies within the documentation (#5067) 5 years ago
Rapptz 6071607176 Bump copyright year to 2020 5 years ago
NCPlayz 3c9bcc2851 Improve documentation 6 years ago
Dante Dam 9656a21ebe Bumped copyright years to 2019. 6 years ago
bmintz bb8b3bf2aa Add Colour.from_hsv 7 years ago
Tobotimus 3112e1c17e Add intersphinx 7 years ago
Rapptz f4e01b3a92 Make supported operations stand out more than attributes. 8 years ago
Rapptz 7a84661312 Rename Colour.to_tuple to Colour.to_rgb. 8 years ago
Rapptz 6f53491f9a Add Colour.from_rgb. 8 years ago
Rapptz 4023510032 Use describe for Colour documentation. 8 years ago
Rapptz 96eca8aa53 Add Colour.blurple and Colour.greyple. 8 years ago
Rapptz 702d596af9 Check that the type in Colour and Permissions are int. 8 years ago
Rapptz ff9f5749e1 Update copyright year to 2017. 8 years ago
Rapptz dceba9d962 Add useful repr to all data classes. 8 years ago
Rapptz e4b16851bf Slots use tuples instead now. 9 years ago
Rapptz 07607060c1 Fix Colour.__str__ to actually pad zeroes. 9 years ago
Rapptz db4cc791dd Update license of files to 2016. 9 years ago
Rapptz f1f0e169e4 Add __slots__ where appropriate to data classes. 9 years ago
Rapptz 51d91c2a82 Most data classes now support hashing. 9 years ago
Rapptz 9137d92f67 All data classes now support !=, == and str(obj). 9 years ago
Rapptz 17171aaa60 Switch to NumPy style documentation. 9 years ago
Rapptz 9fb2186785 Update to the new colours. 9 years ago
Rapptz a0073c734e Split data classes into more files. 10 years ago
Rapptz 8b8312608c Change Colour constants to be class method factories instead. 10 years ago
Rapptz d2741ca38a Better detection for the everyone role. Fixes #23. 10 years ago
Rapptz a9fd4fc4e3 Better detection for the @everyone role. 10 years ago