56 Commits (beeffdce966fb515328447ce2fe4e477c176ff1f)

Author SHA1 Message Date
Leonardo e84edf473c
Add colours for new Discord themes 1 year ago
Josh 4e03b170ef
Update pyright version 2 years ago
ambdroid 78ce5f2331
Fix IndexError when using empty string in Colour.from_str 3 years ago
Rapptz eedd7e3014 Add support for new pink default avatars 3 years ago
Rapptz 2d6c50dbe1 Add note about colour changing 3 years ago
Leonardo e161f6ef3e
Update colour constants 3 years ago
Rapptz 0c68eb338c Add colour previews to the documentation 3 years ago
TheMaster3558 9562a9683a
Add dark_embed and light_embed to Colour 3 years ago
Guddi 66d85007b7
Uppercase color codes in the docs 4 years ago
Rapptz de941ababe Add Colour.from_str factory method 4 years ago
Kellen 0f18d93e47
Remove unused imports 4 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 4 years ago
Josh 147948af9b
Use typing.Self throughout library 4 years ago
Rapptz 88b520b5ab Reformat code using black 4 years ago
Ryan c6a6c6af85
Add Colour.brand_green and Colour.brand_red 5 years ago
Rapptz 9a61a5a063 Typehint Colour.__init__ parameter 5 years ago
chromacoat dreamkey c896563af4
Fix Colour.fuchsia docstring typo 5 years ago
Dorukyum 5ad88dec72
Change Colour.blurple to new one 5 years ago
Arnav Jindal ee3e2944ba
Add Colour.fuchsia and Colour.yellow 5 years ago
Nadir Chowdhury 757cfad38f
Type up **kwargs of various methods 5 years ago
Josh c69b20c52c
Type hint colour.py 5 years ago
numbermaniac b84717fc76
Make spelling of "colour" consistent in docs 5 years ago
ppotatoo f4a861d76e
Add __int__ to discord.Colour 5 years ago
Nadir Chowdhury 89456022cf
Add `__all__` to remaining modules 5 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 5 years ago
Maselkov baa1ab058b
Add an optional seed parameter for Colour.random 5 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 6 years ago
Rapptz 6caa983b5e Clarify Colour.random RNG 6 years ago
Caio Alexandre 896a5bef1d Add Colour.random factory method 6 years ago
Josh 62040de6a7
Fix Colour.dark_theme docstring. 6 years ago
BluePhoenixGame 4b18238ade
Add discord.Colour classmethod dark_theme 6 years ago
SebbyLaw 9b24ff4f77 Add gray alias for discord.Colour 6 years ago
Skezza c3bca7ec73
Documentation formatting 6 years ago
Sebastian Law b4b953bfc6
Fix various inconsistencies within the documentation (#5067) 6 years ago
Rapptz 6071607176 Bump copyright year to 2020 7 years ago
NCPlayz 3c9bcc2851 Improve documentation 7 years ago
Dante Dam 9656a21ebe Bumped copyright years to 2019. 8 years ago
bmintz bb8b3bf2aa Add Colour.from_hsv 8 years ago
Tobotimus 3112e1c17e Add intersphinx 9 years ago
Rapptz f4e01b3a92 Make supported operations stand out more than attributes. 9 years ago
Rapptz 7a84661312 Rename Colour.to_tuple to Colour.to_rgb. 9 years ago
Rapptz 6f53491f9a Add Colour.from_rgb. 9 years ago
Rapptz 4023510032 Use describe for Colour documentation. 9 years ago
Rapptz 96eca8aa53 Add Colour.blurple and Colour.greyple. 9 years ago
Rapptz 702d596af9 Check that the type in Colour and Permissions are int. 10 years ago
Rapptz ff9f5749e1 Update copyright year to 2017. 10 years ago
Rapptz dceba9d962 Add useful repr to all data classes. 10 years ago
Rapptz e4b16851bf Slots use tuples instead now. 10 years ago
Rapptz 07607060c1 Fix Colour.__str__ to actually pad zeroes. 10 years ago
Rapptz db4cc791dd Update license of files to 2016. 11 years ago