| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add BaseUser.banner for all subclasses to access new banners | Alex Nørgaard | 2021-07-28 | 1 | -2/+50 |
| | | |||||
| * | Use a specific tag type for member and user comparisons | Rapptz | 2021-07-08 | 1 | -4/+8 |
| | | | | | | | 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__ | ||||
| * | Move global user storage from WeakValueDictionary to dict | Rapptz | 2021-07-07 | 1 | -1/+18 |
| | | | | | | | | | | | | | Profiling showed that WeakValueDictionary caused rather significant and noticeable slowdowns during startup. Since the only thing it was used for was to automatically remove the key from the mapping when the reference count reaches zero, the same could theoretically be accomplished by using the __del__ special method. There is a chance that this could lead to a memory leak since the __del__ method is not always called, but the only instances of this happening are during interpreter shutdown to my knowledge and at that point the mapping is the least of my concern. | ||||
| * | Rework User.edit to have proper typing | Rapptz | 2021-06-29 | 1 | -6/+9 |
| | | |||||
| * | Remove extraneous __slots__ assignments | Rapptz | 2021-06-28 | 1 | -2/+2 |
| | | |||||
| * | Type up **kwargs of various methods | Nadir Chowdhury | 2021-05-10 | 1 | -4/+3 |
| | | |||||
| * | Typehint Widget | Josh | 2021-05-09 | 1 | -0/+9 |
| | | |||||
| * | Clarify ClientUser.verified docs | David | 2021-04-30 | 1 | -1/+1 |
| | | |||||
| * | Remove lingering User.avatar documentation | Rapptz | 2021-04-19 | 1 | -4/+0 |
| | | |||||
| * | Add missing reprs to some objects | Steve C | 2021-04-17 | 1 | -0/+6 |
| | | | | These are WidgetMember, BaseUser, and DeletedReferencedMessage | ||||
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 1 | -57/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Remove User.permissions_in | Rapptz | 2021-04-11 | 1 | -16/+0 |
| | | | | | This seemed to only cause confusion. | ||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 1 | -8/+12 |
| | | |||||
| * | 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 | -1/+2 |
| | | | | | | Naive datetimes will now be interpreted as local time throughout the library. | ||||
| * | Remove userbot functionality | Rapptz | 2021-04-04 | 1 | -551/+7 |
| | | | | | | This has a lot of legacy and cruft so there may be some stuff I've missed but this first pass is enough to get a clear separation. | ||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -4/+2 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | deprecate User.relationships | Nadir Chowdhury | 2021-03-28 | 1 | -0/+2 |
| | | |||||
| * | Update create_dm documentation to say it's a coroutine | Alex Nørgaard | 2021-03-24 | 1 | -1/+3 |
| | | |||||
| * | Code optimisations and refactoring via Sourcery | Nadir Chowdhury | 2021-02-24 | 1 | -5/+1 |
| | | |||||
| * | Deprecate non-bot methods | Nadir Chowdhury | 2021-02-23 | 1 | -0/+52 |
| | | |||||
| * | Add User.mutual_guilds | sudosnok | 2021-02-20 | 1 | -0/+12 |
| | | |||||
| * | Fix User public flags not updating | Lucas | 2021-01-17 | 1 | -0/+1 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Fix and add documentation | Michael | 2020-09-23 | 1 | -3/+13 |
| | | |||||
| * | Documentation formatting | Skezza | 2020-06-30 | 1 | -1/+1 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -2/+2 |
| | | |||||
| * | Fix incorrect class reference in documentation | JohnyTheCarrot | 2020-06-04 | 1 | -1/+1 |
| | | |||||
| * | Add support for public user flags | JohnyTheCarrot | 2020-05-29 | 1 | -1/+8 |
| | | |||||
| * | Fix colour properties being displayed as methods in the documentation. | kittenswolf | 2020-05-03 | 1 | -2/+2 |
| | | |||||
| * | Fixes and improvements for v1.3 documentation | Harmon | 2020-01-22 | 1 | -0/+3 |
| | | | | | | | | | | * Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog | ||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | | | | Closes #2510 | ||||
| * | Add Profile.system and Profile.team_user to query newer flags | Rapptz | 2019-12-21 | 1 | -0/+8 |
| | | |||||
| * | Add User.system and MessageFlags.urgent | Rapptz | 2019-12-21 | 1 | -1/+6 |
| | | |||||
| * | Return 'username' instead of 'name' | Merlintor | 2019-12-05 | 1 | -1/+1 |
| | | |||||
| * | Adjust BASE urls to have no trailing slash (consistency) | Devon R | 2019-11-15 | 1 | -1/+1 |
| | | |||||
| * | Return invites as https, various URL normalization | Devon R | 2019-11-15 | 1 | -1/+1 |
| | | |||||
| * | Added Optional to ClientUser.premium_type type hint | Willy | 2019-11-15 | 1 | -1/+1 |
| | | |||||
| * | Disambiguate and normalize documentation for non-bot only methods | Tyler | 2019-08-11 | 1 | -15/+15 |
| | | |||||
| * | Fix: another capitalization issue in docstring | Reece Dunham | 2019-07-18 | 1 | -1/+1 |
| | | |||||
| * | Fix return type docstring for BaseUser.default_avatar | Steve C | 2019-07-18 | 1 | -1/+1 |
| | | |||||
| * | Different method of upgrading user instances | Rapptz | 2019-07-10 | 1 | -0/+9 |
| | | |||||
| * | Properly populate __slots__ for derived user types. | Rapptz | 2019-07-09 | 1 | -2/+3 |
| | | | | | Fixes #2265 | ||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -26/+33 |
| | | |||||
| * | Fix stray colon in Asset related docstrings | Rapptz | 2019-06-04 | 1 | -2/+2 |
| | | |||||
| * | Add support for animated guild icons. | Rapptz | 2019-06-04 | 1 | -1/+1 |
| | | |||||
| * | Fix wording in documentation for ClientUser.locale | Harmon | 2019-05-21 | 1 | -1/+1 |
| | | |||||
| * | Correct the documentation for methods and properties that return Assets | Vexs | 2019-05-14 | 1 | -6/+6 |
| | | |||||
| * | Fix USER_UPDATE changes not triggering for member instances. | Rapptz | 2019-04-28 | 1 | -13/+23 |
| | | | | | Also add a ClientUser.locale attribute. | ||||
| * | Improve performance of value -> enum by about 5x. | Rapptz | 2019-04-15 | 1 | -1/+1 |
| | | |||||