| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix all_channel permissions | James Gayfer | 2021-08-27 | 1 | -1/+1 |
| | | | | | | | When the new permission for send_messages_in_threads was added, we added the wrong bit. Instead of adding the bit as the most significant (37), we added it as the last significant, which invalidated most of the permissions defined by this method. | ||||
| * | Update thread permissions | James Gayfer | 2021-08-26 | 1 | -13/+23 |
| | | | | | | | | Discord has renamed / repurposed "Use Public Threads" and "Use Private Threads", as well as added a new permission "Send Messages in Threads". For more information, see: https://github.com/discord/discord-api-docs/pull/3672 | ||||
| * | Fix permissions.py typing | apple502j | 2021-08-23 | 1 | -1/+4 |
| | | |||||
| * | Add missing typehint for PermissionOverwrite.pair | Rapptz | 2021-08-22 | 1 | -1/+1 |
| | | | | | Technically inferred but better to be explicit | ||||
| * | Update Permissions classmethods to include thread/stage/sticker | z03h | 2021-08-18 | 1 | -3/+11 |
| | | |||||
| * | implement guild stickers | Nadir Chowdhury | 2021-07-30 | 1 | -0/+24 |
| | | |||||
| * | Remove slots from flags | Rapptz | 2021-07-03 | 1 | -1/+0 |
| | | | | | Fix #7159 | ||||
| * | Typehint permissions | Rapptz | 2021-07-03 | 1 | -70/+126 |
| | | |||||
| * | Add thread related permissions | Rapptz | 2021-06-08 | 1 | -1/+26 |
| | | |||||
| * | Add Permissions.manage_events | Rapptz | 2021-05-05 | 1 | -0/+8 |
| | | |||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -8/+6 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | Implement StageChannel and related methods | Nadir Chowdhury | 2021-04-03 | 1 | -1/+9 |
| | | |||||
| * | Add support for Permissions.request_to_speak | Rapptz | 2021-04-01 | 1 | -6/+23 |
| | | |||||
| * | remove trailing whitespace | Nadir Chowdhury | 2021-03-13 | 1 | -5/+5 |
| | | |||||
| * | Fix Permissions.all_channel documentation to link attributes | TheOneMusic | 2021-03-01 | 1 | -10/+11 |
| | | |||||
| * | Update permission class methods to match Discord UI | TheOneMusic | 2021-02-28 | 1 | -11/+47 |
| | | |||||
| * | Add Permissions.use_slash_commands | Rapptz | 2021-02-18 | 1 | -2/+6 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Evict keys when they're set to None in PermissionOverwrite | Rapptz | 2020-10-17 | 1 | -3/+6 |
| | | | | | Fixes #5929 | ||||
| * | Add support for flag alias | apple502j | 2020-09-24 | 1 | -10/+2 |
| | | |||||
| * | Fix and add documentation | Michael | 2020-09-23 | 1 | -4/+6 |
| | | |||||
| * | Documentation formatting | Skezza | 2020-06-30 | 1 | -1/+1 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -1/+1 |
| | | |||||
| * | Mention that you can create Permissions via kwargs now | Rapptz | 2020-01-23 | 1 | -0/+4 |
| | | |||||
| * | Drop superfluous zero in version related changes in the documentation | Rapptz | 2020-01-21 | 1 | -1/+1 |
| | | |||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | | | | Closes #2510 | ||||
| * | Add instance check to PermissionOvewrite.__eq__ | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | |||||
| * | Redesign permissions to allow aliases to be used. | Rapptz | 2020-01-11 | 1 | -246/+151 |
| | | | | | | | | | | This adds manage_permissions, view_channel, and use_external_emojis aliases to Permissions. It should be noted that to prevent breaking changes and for sake of usefulness, aliases are not included in the `__iter__` for either Permissions or PermissionOverwrite. Fixes #2496 | ||||
| * | Add view_guild_insights permission | Josh B | 2019-11-15 | 1 | -3/+13 |
| | | |||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -40/+46 |
| | | |||||
| * | Add `Permissions.stream` | NCPlayz | 2019-04-12 | 1 | -3/+10 |
| | | | | | Add stream to Permissions classmethods | ||||
| * | 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 |
| | | |||||