| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added support for comparing PermissionOverwrites | DevilXD | 2019-01-28 | 1 | -0/+7 |
| | | | | | When trying to check if a specific permission overwrite is already set on a channel, it can be done by fetching the already existing overwrite and comparing it with a one you want to set. Comparing them directly wasn't possible before, and this small change allows for that. Could be expanded for other comparison operators, not sure how it would work though. | ||||
| * | Bumped copyright years to 2019. | Dante Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Fix typo in Permissions.all_channel | StarrFox | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Update Message.mention_everyone docs to include @here | Laurenz | 2018-12-14 | 1 | -1/+1 |
| | | |||||
| * | [lint] Replace equality comparisons to singletons | Hornwitser | 2018-11-24 | 1 | -2/+2 |
| | | | | | | | | | Restrict the values accepted by comparisons with booleans to be actual booleans. Minor breaking of undocumented behaviour in permissions; the value to set bits to must be booleans (as indicated by the type error thrown). | ||||
| * | Change docstrings to raw-strings | BeatButton | 2018-09-14 | 1 | -3/+3 |
| | | |||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 1 | -2/+2 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | Add Permissions.priority_speaker. | slice | 2018-07-31 | 1 | -3/+12 |
| | | |||||
| * | Fix typo in Permissions.is_subset/is_superset | Hornwitser | 2018-06-21 | 1 | -2/+2 |
| | | | | | | | | Fix the name for the other's type when raising TypeError being incorrectly written as __class__name instead of __class__.__name__ in the is_subset and is_superset methods of the Permissions class. This was introduced at the creation of these methods in 21c88cf. | ||||
| * | Fixes various documentation errors/inconsistencies | Steve C | 2018-05-18 | 1 | -2/+2 |
| | | | | | Mostly dealing with permissions, also fixes Raw Events inclusion. | ||||
| * | Add pinning to manage_messages doc | Steve C | 2017-08-27 | 1 | -1/+1 |
| | | |||||
| * | Disallow setting non-permission attributes | Mitchell Ferree | 2017-08-08 | 1 | -0/+2 |
| | | |||||
| * | Permissions.view_audit_logs -> Permissions.view_audit_log | Rapptz | 2017-05-28 | 1 | -3/+3 |
| | | |||||
| * | Raise when an invalid permission is passed to PermissionOverwrite. | Rapptz | 2017-05-20 | 1 | -0/+3 |
| | | |||||
| * | Oversight in Permissions still having a table. | Rapptz | 2017-05-20 | 1 | -30/+30 |
| | | |||||
| * | Implement audit logs. | Rapptz | 2017-04-30 | 1 | -3/+3 |
| | | |||||
| * | Fix view_audit_log incorrect pluralisation. | Rapptz | 2017-04-08 | 1 | -1/+1 |
| | | |||||
| * | Add Permissions.view_audit_log | Rapptz | 2017-03-21 | 1 | -3/+12 |
| | | |||||
| * | Check that the type in Colour and Permissions are int. | Rapptz | 2017-02-21 | 1 | -0/+3 |
| | | |||||
| * | Documentation fixes for permission. | Rapptz | 2017-02-13 | 1 | -3/+3 |
| | | |||||
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Remove extraneous kwargs from Permissions constructor. | Rapptz | 2017-01-13 | 1 | -1/+1 |
| | | |||||
| * | Add useful repr to all data classes. | Rapptz | 2017-01-03 | 1 | -0/+3 |
| | | |||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 1 | -12/+12 |
| | | |||||
| * | Slots use tuples instead now. | Rapptz | 2017-01-03 | 1 | -1/+1 |
| | | |||||
| * | Add PermissionOverwrite.is_empty to query empty state of an overwrite. | Rapptz | 2016-11-21 | 1 | -0/+8 |
| | | | | | Fixes #382 | ||||
| * | Add Permissions.update and PermissionOverwrite.update for bulk edits. | Rapptz | 2016-11-21 | 1 | -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. | khazhyk | 2016-10-27 | 1 | -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. | Rapptz | 2016-10-03 | 1 | -8/+14 |
| | | |||||
| * | Fix Permissions.manage_emojis bit being incorrect. | Rapptz | 2016-09-29 | 1 | -4/+4 |
| | | |||||
| * | Add Permissions.manage_emojis | Rapptz | 2016-09-26 | 1 | -3/+17 |
| | | |||||
| * | Rename Permissions.change_nicknames to change_nickname to match UI. | Rapptz | 2016-07-30 | 1 | -3/+3 |
| | | | | | This is a breaking change. | ||||
| * | Add new External Emojis permission. | Rapptz | 2016-07-24 | 1 | -4/+13 |
| | | |||||
| * | Add discord.PermissionOverwrite type for channel-specific overwrites. | Rapptz | 2016-06-14 | 1 | -0/+93 |
| | | |||||
| * | Reference the Discord UI in the permission documentation. | Rapptz | 2016-05-23 | 1 | -3/+3 |
| | | |||||
| * | Add Permissions.administrator and change Permissions.manage_roles | Rapptz | 2016-05-12 | 1 | -9/+25 |
| | | |||||
| * | Make Permissions an iterable class. | Rapptz | 2016-05-01 | 1 | -0/+15 |
| | | |||||
| * | Make Permissions partially-ordered. | Milo Mirate | 2016-04-30 | 1 | -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. | Rapptz | 2016-04-29 | 1 | -3/+21 |
| | | |||||
| * | Clarify channel-specific permissions documentation. | Khazhismel Kumykov | 2016-04-05 | 1 | -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. | Rapptz | 2016-01-14 | 1 | -9/+9 |
| | | |||||
| * | Update license of files to 2016. | Rapptz | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | Change permissions to remove the can_ prefix. | Rapptz | 2016-01-03 | 1 | -63/+63 |
| | | |||||
| * | Unflip kick/ban permission bits | abalabahaha | 2015-12-22 | 1 | -8/+8 |
| | | |||||
| * | Add __slots__ where appropriate to data classes. | Rapptz | 2015-12-19 | 1 | -1/+2 |
| | | |||||
| * | Most data classes now support hashing. | Rapptz | 2015-12-17 | 1 | -0/+5 |
| | | |||||
| * | Remove the non-classmethod attributes in Permissions. | Rapptz | 2015-12-16 | 1 | -45/+6 |
| | | |||||
| * | All data classes now support !=, == and str(obj). | Rapptz | 2015-12-13 | 1 | -0/+16 |
| | | |||||
| * | Simplified permissions bit operations. | Rapptz | 2015-12-10 | 1 | -2/+2 |
| | | |||||
| * | Change Permissions constants to be class method factories instead. | Rapptz | 2015-10-22 | 1 | -0/+43 |
| | | |||||