aboutsummaryrefslogtreecommitdiff
path: root/discord/permissions.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.