aboutsummaryrefslogtreecommitdiff
path: root/discord/permissions.py
Commit message (Collapse)AuthorAgeFilesLines
* Reference the Discord UI in the permission documentation.Rapptz2016-05-231-3/+3
|
* Add Permissions.administrator and change Permissions.manage_rolesRapptz2016-05-121-9/+25
|
* Make Permissions an iterable class.Rapptz2016-05-011-0/+15
|
* Make Permissions partially-ordered.Milo Mirate2016-04-301-0/+39
| | | | | | | | | | Specifically: * P1 <= P2 iff P1 expresses a subset of the permissions expressed by P2. * P1 < P2 iff P1 <= P2 and P1 != P2 * vice versa for P1 >= P2 and P1 > P2
* Add permissions for changing or managing nicknames.Rapptz2016-04-291-3/+21
|
* Clarify channel-specific permissions documentation.Khazhismel Kumykov2016-04-051-2/+6
| | | | | | Manage Roles and Manage Channels is renamed to "Manage Permissions" and "Manage Channel" in the discord UI, clarify which fields in the Permission object those map to.
* Documentation fixes for Permissions related code.Rapptz2016-01-141-9/+9
|
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Change permissions to remove the can_ prefix.Rapptz2016-01-031-63/+63
|
* Unflip kick/ban permission bitsabalabahaha2015-12-221-8/+8
|
* Add __slots__ where appropriate to data classes.Rapptz2015-12-191-1/+2
|
* Most data classes now support hashing.Rapptz2015-12-171-0/+5
|
* Remove the non-classmethod attributes in Permissions.Rapptz2015-12-161-45/+6
|
* All data classes now support !=, == and str(obj).Rapptz2015-12-131-0/+16
|
* Simplified permissions bit operations.Rapptz2015-12-101-2/+2
|
* Change Permissions constants to be class method factories instead.Rapptz2015-10-221-0/+43
|
* Document Permissions constants and set default permissions to 0.Rapptz2015-10-171-1/+29
|
* Add Channel.permissions_for and PrivateChannel.permissions_for.Rapptz2015-10-171-0/+25
| | | | | | These functions handle permission resolution for a specific member. Aids with #18.
* Pass kwargs to all constructors for future proofing.Rapptz2015-10-131-1/+1
|
* Permissions are now properties rather than functions.Rapptz2015-09-031-4/+113
| | | | | This allows you to set or retrieve specific bits through a higher level API to facilitate editing in the future.
* Python3 import fixes.Rapptz2015-08-281-1/+0
|
* Preliminary work on permission parsing.Rapptz2015-08-261-0/+132
Thanks Voltagei.