| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rework Role.edit to not rely on previous role state | Rapptz | 2021-06-29 | 1 | -33/+31 |
| | | |||||
| * | Typehint Role and RoleTags | Rapptz | 2021-05-28 | 1 | -48/+59 |
| | | |||||
| * | Fix Role.is_assignable() computing Guild.me twice | Rapptz | 2021-05-28 | 1 | -1/+6 |
| | | |||||
| * | Check for guild owner in Role.is_assignable() | TheOneMusic | 2021-05-28 | 1 | -1/+1 |
| | | |||||
| * | Add Role.is_assignable() | Tyler | 2021-05-28 | 1 | -0/+7 |
| | | |||||
| * | Add warning for comparing with role positioning | Rapptz | 2021-05-27 | 1 | -0/+9 |
| | | |||||
| * | Type up **kwargs of various methods | Nadir Chowdhury | 2021-05-10 | 1 | -1/+21 |
| | | |||||
| * | First pass at supporting v8 API | Rapptz | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 1 | -7/+26 |
| | | |||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 1 | -0/+5 |
| | | |||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -3/+1 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | Add support for the new permission serialization scheme. | Rapptz | 2021-02-18 | 1 | -2/+2 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Implement role tags. | Rapptz | 2020-11-26 | 1 | -4/+78 |
| | | | | | | | | | | | | This comes with: * The RoleTags class * Role.is_premium_subscriber() * Role.is_bot_managed() * Role.is_integration() * Guild.self_role * Guild.premium_subscriber_role | ||||
| * | Fix and add documentation | Michael | 2020-09-23 | 1 | -1/+1 |
| | | |||||
| * | allow passing color int to role.edit | Anurag Singh | 2020-05-10 | 1 | -1/+7 |
| | | |||||
| * | Fix documentation problem with color | Saurabh Chaturvedi | 2020-04-04 | 1 | -1/+4 |
| | | | | | At readthedocs.io, for role `color`, it says "Returns the role colour. An alias exists under `color`". This PR fixes that to say "Returns the role color. An alias exists under `colour`". | ||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | | | | Closes #2510 | ||||
| * | Create Permissions and Colour objects when necessary in Role | Rapptz | 2019-08-27 | 1 | -8/+15 |
| | | | | | | | | | | | This should have some memory savings of ~24 bytes per role. * 8 bytes for Permissions * 8 bytes for Colour * 8 bytes for the alias I'm not sure how significant it is but it should be a decent amount. | ||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -3/+3 |
| | | |||||
| * | Organise documentation | NCPlayz | 2019-03-19 | 1 | -6/+6 |
| | | |||||
| * | Bumped copyright years to 2019. | Dante Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Fix NameError and duplicate insertion bug when moving roles. | Rapptz | 2018-09-24 | 1 | -1/+1 |
| | | |||||
| * | Change internal representation of roles in Member and Emoji. | Rapptz | 2018-09-24 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Introduce a new internal type, SnowflakeList, which has better memory footprint over a regular list or set of roles. It is suspected that there will be a 9x reduction of memory for every Emoji instance and a 48 byte saving per Member instance. However, these savings will probably only be evident on larger bots. As a consequence of this change, Member.roles is now computed lazily. Currently I am not sure if I want to do the initial sorting on the SnowflakeList for Member, as this comes with a O(n log n) cost when creating a Member for little purpose since SnowflakeList.has is not overly relied on. If CPU time becomes an issue this might change. | ||||
| * | Change internal role storage in Guild to a dict instead of a list. | Rapptz | 2018-09-24 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | This adds the following APIs: * Guild.get_role This removes the following APIs: * Guild.role_hierarchy To compensate for the removed APIs, Guild.roles is now a sorted list based on hierarchy. The first element will always be the @everyone role. This speeds up access at the cost of some memory, theoretically. | ||||
| * | Take the default role property into account when comparing roles. | Rapptz | 2018-09-24 | 1 | -0/+6 |
| | | |||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | [lint] Remove unused imports | Hornwitser | 2018-08-22 | 1 | -2/+0 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | Drop support for Python 3.4 and make minimum version 3.5.2. | Rapptz | 2018-06-10 | 1 | -10/+7 |
| | | |||||
| * | Fixes various documentation errors/inconsistencies | Steve C | 2018-05-18 | 1 | -2/+2 |
| | | | | | Mostly dealing with permissions, also fixes Raw Events inclusion. | ||||
| * | Add intersphinx | Tobotimus | 2018-01-06 | 1 | -7/+7 |
| | | |||||
| * | Make supported operations stand out more than attributes. | Rapptz | 2017-05-20 | 1 | -16/+18 |
| | | |||||
| * | Use describe instead of tables for supported operations. | Rapptz | 2017-05-13 | 1 | -21/+31 |
| | | |||||
| * | Add support for audit log reasons. | Rapptz | 2017-05-07 | 1 | -7/+14 |
| | | | | | Most routes now have a 'reason' keyword argument. | ||||
| * | Change some format usage to use %-formatting. | Rapptz | 2017-05-04 | 1 | -1/+1 |
| | | | | | | Minor speed increase when we're not doing excessive attribute access or any type of formatting. | ||||
| * | Fix NameError in Role.edit when moving roles. | Rapptz | 2017-04-22 | 1 | -0/+1 |
| | | |||||
| * | Make Role.members use a list comprehension. | Rapptz | 2017-03-25 | 1 | -5/+1 |
| | | |||||
| * | Fix NameError in Role.edit | Rapptz | 2017-03-05 | 1 | -1/+1 |
| | | |||||
| * | Remove extra space. | Rapptz | 2017-02-28 | 1 | -1/+1 |
| | | |||||
| * | Change Role.is_everyone to Role.is_default. | Rapptz | 2017-01-29 | 1 | -4/+4 |
| | | |||||
| * | Make all public is_ functions into methods instead of properties. | Rapptz | 2017-01-29 | 1 | -3/+2 |
| | | |||||
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Fix bug with GuildChannel.edit and Role.edit with positions. | Rapptz | 2017-01-16 | 1 | -2/+1 |
| | | | | | I did not update the HTTP code for these two methods. | ||||
| * | Add Role.members to get every member with a role. | Rapptz | 2017-01-03 | 1 | -0/+13 |
| | | |||||
| * | Add useful repr to all data classes. | Rapptz | 2017-01-03 | 1 | -0/+3 |
| | | |||||
| * | Make roles and guilds stateful. | Rapptz | 2017-01-03 | 1 | -0/+108 |
| | | |||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 1 | -10/+10 |
| | | |||||
| * | Switch IDs to use int instead of str | Rapptz | 2017-01-03 | 1 | -10/+10 |
| | | |||||
| * | Begin working on the rewrite. | Rapptz | 2017-01-03 | 1 | -14/+15 |
| | | |||||
| * | Fix role comparisons. | Rapptz | 2016-12-02 | 1 | -1/+1 |
| | | | | | Fixes #409 | ||||