Rapptz
|
db4cc791dd
|
Update license of files to 2016.
|
9 years ago |
Rapptz
|
5a1d7a2d94
|
Change permissions to remove the can_ prefix.
|
9 years ago |
abalabahaha
|
483384595b
|
Unflip kick/ban permission bits
|
9 years ago |
Rapptz
|
f1f0e169e4
|
Add __slots__ where appropriate to data classes.
|
9 years ago |
Rapptz
|
51d91c2a82
|
Most data classes now support hashing.
|
9 years ago |
Rapptz
|
434fc5c79e
|
Remove the non-classmethod attributes in Permissions.
|
9 years ago |
Rapptz
|
9137d92f67
|
All data classes now support !=, == and str(obj).
|
10 years ago |
Rapptz
|
98ba68bb66
|
Simplified permissions bit operations.
|
10 years ago |
Rapptz
|
b94dffaf87
|
Change Permissions constants to be class method factories instead.
|
10 years ago |
Rapptz
|
8fbaa29e9c
|
Document Permissions constants and set default permissions to 0.
|
10 years ago |
Rapptz
|
61f62c1468
|
Add Channel.permissions_for and PrivateChannel.permissions_for.
These functions handle permission resolution for a specific member.
Aids with #18.
|
10 years ago |
Rapptz
|
2559051e06
|
Pass kwargs to all constructors for future proofing.
|
10 years ago |
Rapptz
|
afdada133f
|
Permissions are now properties rather than functions.
This allows you to set or retrieve specific bits through a
higher level API to facilitate editing in the future.
|
10 years ago |
Rapptz
|
b7fc383013
|
Python3 import fixes.
|
10 years ago |
Rapptz
|
bcaf33e304
|
Preliminary work on permission parsing.
Thanks Voltagei.
|
10 years ago |