| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | Make Roles totally ordered. | Rapptz | 2016-09-21 | 1 | -11/+49 |
| | | | | | | This also fixes a bug with Member.top_role that chose the wrong role should they have the same position. | ||||
| * | Clarify Role.position documentation. | Rapptz | 2016-06-01 | 1 | -1/+2 |
| | | |||||
| * | Add Role.server attribute. | Rapptz | 2016-06-01 | 1 | -5/+5 |
| | | | | | This breaks events that expected a server parameter for the role events. | ||||
| * | Add Role.mentionable attribute. | Rapptz | 2016-04-29 | 1 | -1/+4 |
| | | |||||
| * | Add Role.mention property | Rapptz | 2016-04-29 | 1 | -0/+5 |
| | | |||||
| * | Fix typo in Role.created_at | Khazhismel Kumykov | 2016-04-09 | 1 | -1/+1 |
| | | |||||
| * | Add missing created_at properties for other objects. | Rapptz | 2016-03-25 | 1 | -0/+6 |
| | | | | | Such as Channel, PrivateChannel, Object and Role. | ||||
| * | Change internal update functions to have a leading underscore. | Rapptz | 2016-01-11 | 1 | -2/+2 |
| | | |||||
| * | Update license of files to 2016. | Rapptz | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | Add __slots__ where appropriate to data classes. | Rapptz | 2015-12-19 | 1 | -2/+5 |
| | | |||||
| * | Most data classes now support hashing. | Rapptz | 2015-12-17 | 1 | -2/+4 |
| | | |||||
| * | Make more things into properties. | Rapptz | 2015-12-16 | 1 | -0/+1 |
| | | | | | | | A lot of the expensive getters were transformed into cached properties instead. A lot of things that were properties were transformed into properties as well. | ||||
| * | All data classes now support !=, == and str(obj). | Rapptz | 2015-12-13 | 1 | -1/+17 |
| | | |||||
| * | Fix bug where Role.is_everyone doesn't propagate in GUILD_ROLE_UPDATE. | Rapptz | 2015-12-10 | 1 | -1/+3 |
| | | |||||
| * | Switch to NumPy style documentation. | Rapptz | 2015-12-04 | 1 | -22/+14 |
| | | |||||
| * | Role.is_everyone actually uses the proper check. | Rapptz | 2015-11-09 | 1 | -1/+1 |
| | | |||||
| * | Split data classes into more files. | Rapptz | 2015-10-27 | 1 | -162/+1 |
| | | |||||
| * | Change Colour constants to be class method factories instead. | Rapptz | 2015-10-22 | 1 | -95/+109 |
| | | |||||
| * | Better detection for the everyone role. Fixes #23. | Rapptz | 2015-10-21 | 1 | -2/+2 |
| | | |||||
| * | Better detection for the @everyone role. | Rapptz | 2015-10-17 | 1 | -2/+7 |
| | | |||||
| * | Add Role.managed property. | Rapptz | 2015-10-16 | 1 | -0/+5 |
| | | |||||