aboutsummaryrefslogtreecommitdiff
path: root/discord/permissions.py
Commit message (Collapse)AuthorAgeFilesLines
* Add Permissions.view_audit_logRapptz2017-03-211-3/+12
|
* Check that the type in Colour and Permissions are int.Rapptz2017-02-211-0/+3
|
* Documentation fixes for permission.Rapptz2017-02-131-3/+3
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Remove extraneous kwargs from Permissions constructor.Rapptz2017-01-131-1/+1
|
* Add useful repr to all data classes.Rapptz2017-01-031-0/+3
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-12/+12
|
* Slots use tuples instead now.Rapptz2017-01-031-1/+1
|
* Add PermissionOverwrite.is_empty to query empty state of an overwrite.Rapptz2016-11-211-0/+8
| | | | Fixes #382
* Add Permissions.update and PermissionOverwrite.update for bulk edits.Rapptz2016-11-211-0/+38
| | | | | This should satisfy those that have a one-line obsession and make things a little bit easier if you have a dict.
* Add support for reactions.khazhyk2016-10-271-3/+12
| | | | | | | | | | | Reactions can be be standard emojis, or custom server emojis. Adds - add/remove_reaction - get_reaction_users - Messages have new field reactions - new events - message_reaction_add, message_reaction_remove - new permission - add_reactions
* Add support for new Manage Webhooks permission.Rapptz2016-10-031-8/+14
|
* Fix Permissions.manage_emojis bit being incorrect.Rapptz2016-09-291-4/+4
|
* Add Permissions.manage_emojisRapptz2016-09-261-3/+17
|
* Rename Permissions.change_nicknames to change_nickname to match UI.Rapptz2016-07-301-3/+3
| | | | This is a breaking change.
* Add new External Emojis permission.Rapptz2016-07-241-4/+13
|
* Add discord.PermissionOverwrite type for channel-specific overwrites.Rapptz2016-06-141-0/+93
|
* 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.