55 Commits (master)

Author SHA1 Message Date
Josh 4e03b170ef
Update pyright version 1 year ago
ambdroid 78ce5f2331
Fix IndexError when using empty string in Colour.from_str 2 years ago
Rapptz eedd7e3014 Add support for new pink default avatars 2 years ago
Rapptz 2d6c50dbe1 Add note about colour changing 2 years ago
Leonardo e161f6ef3e
Update colour constants 2 years ago
Rapptz 0c68eb338c Add colour previews to the documentation 2 years ago
TheMaster3558 9562a9683a
Add dark_embed and light_embed to Colour 2 years ago
Guddi 66d85007b7
Uppercase color codes in the docs 2 years ago
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