| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 1 | -90/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 `fetch_message` for webhooks | Nadir Chowdhury | 2021-04-16 | 2 | -6/+126 |
| | | |||||
| * | Fix overloads on Webhook.send to not require wait kwarg | Rapptz | 2021-04-15 | 2 | -2/+2 |
| | | |||||
| * | Fix WebhookMessage.edit documentation | Rapptz | 2021-04-15 | 2 | -12/+2 |
| | | |||||
| * | Fix rate limit handling with retry_after precision change | Rapptz | 2021-04-15 | 2 | -4/+8 |
| | | |||||
| * | Rewrite webhooks to play better with typings and rate limits | Rapptz | 2021-04-15 | 3 | -0/+2362 |
| This unfortunately required splitting the types into two. This led to a lot of unfortunate code duplication that I didn't really enjoy writing. The new design allows users to pass an authentication token to make webhook requests without the webhook token and allows to finally edit the webhook channel. The new design also uses a contextvar to store rate limiting information so multiple instances or recreating instances no longer clears the ratelimiting state since it's now essentially a "global" object. Closes #6525, closes #6662, closes #2509, closes #1761 | |||||