aboutsummaryrefslogtreecommitdiff
path: root/discord/role.py
Commit message (Collapse)AuthorAgeFilesLines
* Make Roles totally ordered.Rapptz2016-09-211-11/+49
| | | | | This also fixes a bug with Member.top_role that chose the wrong role should they have the same position.
* Clarify Role.position documentation.Rapptz2016-06-011-1/+2
|
* Add Role.server attribute.Rapptz2016-06-011-5/+5
| | | | This breaks events that expected a server parameter for the role events.
* Add Role.mentionable attribute.Rapptz2016-04-291-1/+4
|
* Add Role.mention propertyRapptz2016-04-291-0/+5
|
* Fix typo in Role.created_atKhazhismel Kumykov2016-04-091-1/+1
|
* Add missing created_at properties for other objects.Rapptz2016-03-251-0/+6
| | | | Such as Channel, PrivateChannel, Object and Role.
* Change internal update functions to have a leading underscore.Rapptz2016-01-111-2/+2
|
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Add __slots__ where appropriate to data classes.Rapptz2015-12-191-2/+5
|
* Most data classes now support hashing.Rapptz2015-12-171-2/+4
|
* Make more things into properties.Rapptz2015-12-161-0/+1
| | | | | | A lot of the expensive getters were transformed into cached properties instead. A lot of things that were properties were transformed into properties as well.
* All data classes now support !=, == and str(obj).Rapptz2015-12-131-1/+17
|
* Fix bug where Role.is_everyone doesn't propagate in GUILD_ROLE_UPDATE.Rapptz2015-12-101-1/+3
|
* Switch to NumPy style documentation.Rapptz2015-12-041-22/+14
|
* Role.is_everyone actually uses the proper check.Rapptz2015-11-091-1/+1
|
* Split data classes into more files.Rapptz2015-10-271-162/+1
|
* Change Colour constants to be class method factories instead.Rapptz2015-10-221-95/+109
|
* Better detection for the everyone role. Fixes #23.Rapptz2015-10-211-2/+2
|
* Better detection for the @everyone role.Rapptz2015-10-171-2/+7
|
* Add Role.managed property.Rapptz2015-10-161-0/+5
|
* Separate colour tuple into its own class.Rapptz2015-10-161-0/+213
Also enumerate all the constant colours that Discord currently supports.