25 Commits

Author SHA1 Message Date
SebbyLaw
9b24ff4f77 Add gray alias for discord.Colour 2020-07-22 23:18:29 -04:00
Skezza
c3bca7ec73
Documentation formatting 2020-06-30 23:32:00 -04:00
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation (#5067) 2020-06-28 03:45:58 -04:00
Rapptz
6071607176 Bump copyright year to 2020
Closes #2510
2020-01-19 20:03:00 -05:00
NCPlayz
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
Dante Dam
9656a21ebe Bumped copyright years to 2019. 2019-01-28 22:22:50 -05:00
bmintz
bb8b3bf2aa Add Colour.from_hsv
HSV is an easier to use colour format, and its inclusion in the colour
module will hopefully encourage its use.
2018-08-22 21:06:09 -04:00
Tobotimus
3112e1c17e Add intersphinx 2018-01-06 17:23:59 -05:00
Rapptz
f4e01b3a92 Make supported operations stand out more than attributes. 2017-05-20 02:08:34 -04:00
Rapptz
7a84661312 Rename Colour.to_tuple to Colour.to_rgb. 2017-05-15 03:40:27 -04:00
Rapptz
6f53491f9a Add Colour.from_rgb. 2017-05-15 03:37:21 -04:00
Rapptz
4023510032 Use describe for Colour documentation. 2017-05-15 02:29:03 -04:00
Rapptz
96eca8aa53 Add Colour.blurple and Colour.greyple. 2017-05-13 17:39:12 -04:00
Rapptz
702d596af9 Check that the type in Colour and Permissions are int. 2017-02-21 08:19:32 -05:00
Rapptz
ff9f5749e1 Update copyright year to 2017. 2017-01-20 23:19:19 -05:00
Rapptz
dceba9d962 Add useful repr to all data classes. 2017-01-03 09:52:06 -05:00
Rapptz
e4b16851bf Slots use tuples instead now. 2017-01-03 09:51:50 -05:00
Rapptz
07607060c1 Fix Colour.__str__ to actually pad zeroes. 2016-06-16 22:49:34 -04:00
Rapptz
db4cc791dd Update license of files to 2016. 2016-01-04 22:28:29 -05:00
Rapptz
f1f0e169e4 Add __slots__ where appropriate to data classes. 2015-12-19 06:18:12 -05:00
Rapptz
51d91c2a82 Most data classes now support hashing. 2015-12-17 00:32:54 -05:00
Rapptz
9137d92f67 All data classes now support !=, == and str(obj). 2015-12-13 22:53:48 -05:00
Rapptz
17171aaa60 Switch to NumPy style documentation. 2015-12-04 23:43:31 -05:00
Rapptz
9fb2186785 Update to the new colours. 2015-11-27 17:56:35 -05:00
Rapptz
a0073c734e Split data classes into more files. 2015-10-27 16:23:20 -04:00