| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make arguments positional only in 2 get methods | Izhar Ahmad | 2021-08-25 | 1 | -1/+1 |
| | | | | | - Member.get_role - Guild.get_member | ||||
| * | Change User.avatar to be Optional[Asset] instead of Asset | Rapptz | 2021-08-25 | 1 | -2/+2 |
| | | | | | | | | | | | | This change was needed to allow users to more easily check if an uploaded avatar was set using `if user.avatar:` rather than the admittedly clunky `if user.avatar != user.default_avatar. The old behaviour with a fallback is still useful for actual display purposes, so it has been moved over to the new `User.display_avatar` attribute. This also has symmetry with the newly added `Member.display_avatar` attribute. | ||||
| * | Remove in-place edits and return fresh instances instead | Rapptz | 2021-08-23 | 1 | -2/+12 |
| | | | | | Fixes #4098 | ||||
| * | Fix typings for member HTTP methods | Rapptz | 2021-08-23 | 1 | -2/+2 |
| | | |||||
| * | Fix Member.guild_avatar docstring | Rapptz | 2021-08-22 | 1 | -2/+2 |
| | | |||||
| * | Fix Member._avatar not updating in member update events | Rapptz | 2021-08-22 | 1 | -1/+3 |
| | | |||||
| * | Add per-guild member avatar support | JustAnyone | 2021-08-22 | 1 | -0/+26 |
| | | | | Fix #7054 | ||||
| * | Add missing typehints for Member properties | Arnav Jindal | 2021-08-21 | 1 | -0/+3 |
| | | |||||
| * | Re-define Member properties inferred from User to support type-checking | Josh | 2021-08-20 | 1 | -6/+8 |
| | | |||||
| * | Rename instances of nitro to premium | Rapptz | 2021-07-30 | 1 | -1/+1 |
| | | |||||
| * | Fix user cache acting incorrectly with evictions | Rapptz | 2021-07-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The first issue involved copied users which would lead to user updates causing faster evictions of the cache than was expected. The second issue involved users that weren't bound to an internal lifetime eviction policy. These users would not get evicted. For example, a user without mutual guilds or being part of the internal cache in general (messages, DMs) would never end up being evicted for some strange reason. To handle this case, store_user would get a counterpart named create_user which would create a user without potentially storing them in the cache. That way only users with a bound lifetime within the library would be stored. | ||||
| * | Use a specific tag type for member and user comparisons | Rapptz | 2021-07-08 | 1 | -5/+3 |
| | | | | | | | The previous protocol based tag type caused significant overhead (in the magnitude of seconds). Removing this should simplify object creation by removing typing.Generic from the __mro__ | ||||
| * | Typehint Member and various typing fixes | Rapptz | 2021-06-30 | 1 | -102/+144 |
| | | |||||
| * | Rework Member.edit to not use kwargs for better typing | Rapptz | 2021-06-29 | 1 | -42/+18 |
| | | |||||
| * | Fix Member.ban typing to include 0-day message deletes | Steve C | 2021-06-27 | 1 | -1/+1 |
| | | |||||
| * | Add Member.get_role | Michael H | 2021-05-27 | 1 | -0/+17 |
| | | | | | | | | | | Adds an efficient way to check if a member has a role by ID. This is done in a way consistent with the existing user API of the library. The more debated Member.has_role_id/has_role is intentionally not included for review at this time given the heavy bikeshedding of it. | ||||
| * | Fix issues with imports causing NameErrors | Josh | 2021-05-12 | 1 | -0/+2 |
| | | |||||
| * | Type up **kwargs of various methods | Nadir Chowdhury | 2021-05-10 | 1 | -6/+43 |
| | | |||||
| * | `activities` is no longer nullable | Nadir Chowdhury | 2021-04-17 | 1 | -2/+2 |
| | | |||||
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is a breaking change. This does the following transformations, assuming `asset` represents an asset type. Object.is_asset_animated() => Object.asset.is_animated() Object.asset => Object.asset.key Object.asset_url => Object.asset_url Object.asset_url_as => Object.asset.replace(...) Since the asset type now requires a key (or hash, if you will), Emoji had to be flattened similar to how Attachment was done since these assets are keyed solely ID. Emoji.url (Asset) => Emoji.url (str) Emoji.url_as => removed Emoji.url.read => Emoji.read Emoji.url.save => Emoji.save This transformation was also done to PartialEmoji. | ||||
| * | Add note to member docs about Spotify limitation | numbermaniac | 2021-04-14 | 1 | -0/+13 |
| | | |||||
| * | Remove User.permissions_in | Rapptz | 2021-04-11 | 1 | -23/+1 |
| | | | | | This seemed to only cause confusion. | ||||
| * | Remove Member related handling in PRESENCE_UPDATE | Rapptz | 2021-04-11 | 1 | -11/+0 |
| | | |||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 1 | -0/+5 |
| | | |||||
| * | Convert datetimes to aware datetimes with UTC. | Rapptz | 2021-04-04 | 1 | -3/+3 |
| | | | | | | Naive datetimes will now be interpreted as local time throughout the library. | ||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -8/+7 |
| | | | | | | 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 | -5/+90 |
| | | |||||
| * | [docs] copy signature from overridden and inherited methods | Sebastian Law | 2021-03-29 | 1 | -1/+1 |
| | | |||||
| * | Make `await` text appear in async Member method docs | Sebastian Law | 2021-03-24 | 1 | -2/+8 |
| | | |||||
| * | Code optimisations and refactoring via Sourcery | Nadir Chowdhury | 2021-02-24 | 1 | -7/+3 |
| | | |||||
| * | Fix User public flags not updating | Lucas | 2021-01-17 | 1 | -3/+3 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Update add_roles docstring to mention role order. | Perry Cate | 2021-01-14 | 1 | -2/+4 |
| | | |||||
| * | Add support for Member.pending boolean attribute | Rapptz | 2020-12-18 | 1 | -1/+13 |
| | | |||||
| * | [chore] Remove redundant imports | Nadir Chowdhury | 2020-11-28 | 1 | -1/+1 |
| | | | | This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1. | ||||
| * | Intern status and overwrite strings | Rapptz | 2020-09-23 | 1 | -4/+5 |
| | | |||||
| * | Allow finer grained control over the member cache. | Rapptz | 2020-09-23 | 1 | -0/+8 |
| | | |||||
| * | Handle user updates within GUILD_MEMBER_UPDATE | Rapptz | 2020-09-23 | 1 | -9/+12 |
| | | |||||
| * | Fix and add documentation | Michael | 2020-09-23 | 1 | -1/+6 |
| | | |||||
| * | Completely update member references from message inner members. | Rapptz | 2020-09-17 | 1 | -1/+7 |
| | | | | | Fixes #5819 | ||||
| * | Fix Member.joined_at documentation | rodovia | 2020-09-09 | 1 | -2/+2 |
| | | |||||
| * | Documentation formatting | Skezza | 2020-06-30 | 1 | -2/+2 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -2/+7 |
| | | |||||
| * | Removes the caching behavior of Member.roles | Michael H | 2020-06-04 | 1 | -12/+7 |
| | | | | | | | - fixes 4087 - This intentionally uses some internals in both Member.roles and Member.top_role to retain as much performance as possible while removing the cache | ||||
| * | Add support for public user flags | JohnyTheCarrot | 2020-05-29 | 1 | -1/+1 |
| | | |||||
| * | Fix colour properties being displayed as methods in the documentation. | kittenswolf | 2020-05-03 | 1 | -2/+2 |
| | | |||||
| * | Drop superfluous zero in version related changes in the documentation | Rapptz | 2020-01-21 | 1 | -3/+3 |
| | | |||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | | | | Closes #2510 | ||||
| * | Expose _ActivityTag as BaseActivity to easily refer to. | Rapptz | 2020-01-14 | 1 | -2/+2 |
| | | |||||
| * | Cache member.roles access to avoid surprising performance traps | Rapptz | 2020-01-06 | 1 | -2/+12 |
| | | | | | | Without the cache, repeated access could be accidentally quadratic or worse. | ||||