| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add BaseUser.banner for all subclasses to access new banners | Alex Nørgaard | 2021-07-28 | 1 | -0/+11 |
| | | |||||
| * | Make Asset.with_ functions positional only | Rapptz | 2021-06-28 | 1 | -3/+3 |
| | | |||||
| * | Make Asset.replace only accept keyword arguments | Rapptz | 2021-06-28 | 1 | -0/+1 |
| | | |||||
| * | Replace uses of Ellipsis as sentinels with utils.MISSING | Josh | 2021-05-03 | 1 | -6/+8 |
| | | |||||
| * | Refactor save() and read() into AssetMixin | Rapptz | 2021-04-17 | 1 | -78/+71 |
| | | |||||
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 1 | -105/+234 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 typings for audit logs, integrations, and webhooks | Nadir Chowdhury | 2021-04-10 | 1 | -0/+5 |
| | | |||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 1 | -7/+6 |
| | | |||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 1 | -0/+4 |
| | | |||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -13/+11 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -2/+2 |
| | | |||||
| * | Add Emoji.url_as | Daggy1234 | 2020-12-17 | 1 | -0/+13 |
| | | |||||
| * | Add sticker support | Zomatree | 2020-11-23 | 1 | -0/+6 |
| | | |||||
| * | Implement icon_rl_as and cover_image_url_as for AppInfo | SebbyLaw | 2020-11-21 | 1 | -4/+14 |
| | | |||||
| * | 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 | ||||
| * | removed parameter section in Asset.read | Zomatree | 2020-01-15 | 1 | -7/+0 |
| | | |||||
| * | Adjust BASE urls to have no trailing slash (consistency) | Devon R | 2019-11-15 | 1 | -6/+6 |
| | | |||||
| * | Return invites as https, various URL normalization | Devon R | 2019-11-15 | 1 | -8/+10 |
| | | |||||
| * | Support team members data in application info | fourjr | 2019-06-29 | 1 | -0/+8 |
| | | |||||
| * | Update Sphinx to 2.1.2 | Rapptz | 2019-06-28 | 1 | -1/+6 |
| | | |||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -0/+7 |
| | | |||||
| * | Add support for animated guild icons. | Rapptz | 2019-06-04 | 1 | -1/+21 |
| | | |||||
| * | Add Asset.read() to retrieve assets into bytes objects | slice | 2019-04-20 | 1 | -22/+40 |
| | | |||||
| * | Add equality comparisons between two assets and hashing an asset. | Rapptz | 2019-04-13 | 1 | -0/+21 |
| | | |||||
| * | Fix various bugs with Asset._url None handling. | Rapptz | 2019-04-09 | 1 | -2/+4 |
| | | |||||
| * | Redesign asset retrieval in the library. | NCPlayz | 2019-04-06 | 1 | -0/+157 |
| Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997 | |||||