| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change avatar_url type hint to Any instead of str | Rapptz | 2021-08-27 | 2 | -11/+13 |
| | | |||||
| * | Fix Webhook return types | Steve C | 2021-08-26 | 2 | -12/+12 |
| | | | | Also add positional only arguments where applicable | ||||
| * | Remove in-place edits and return fresh instances instead | Rapptz | 2021-08-23 | 2 | -18/+51 |
| | | | | | Fixes #4098 | ||||
| * | Add type hints to AsyncWebhookAdapter methods | Rapptz | 2021-08-23 | 1 | -14/+18 |
| | | |||||
| * | Fix webhook typings and use PartialMessageable instead of Object | Rapptz | 2021-08-22 | 2 | -16/+24 |
| | | |||||
| * | Typehint async_context global variable | Rapptz | 2021-08-22 | 1 | -2/+2 |
| | | |||||
| * | Make json conversion functions private | Rapptz | 2021-08-22 | 2 | -3/+3 |
| | | |||||
| * | Make global log variable in modules private | Rapptz | 2021-08-22 | 2 | -8/+8 |
| | | |||||
| * | Fix SyncWebhook not working across thread barriers | Rapptz | 2021-07-30 | 1 | -11/+22 |
| | | | | | Fix #7310 | ||||
| * | Fix user cache acting incorrectly with evictions | Rapptz | 2021-07-29 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | Remove extraneous __slots__ assignments | Rapptz | 2021-06-28 | 2 | -2/+2 |
| | | |||||
| * | Add "new in version" missing in webhook documentation | Rafael | 2021-06-27 | 1 | -2/+37 |
| | | |||||
| * | Fix some webhook related type checker errors | Rapptz | 2021-06-10 | 1 | -2/+4 |
| | | |||||
| * | Add support for thread parameter in Webhook.send | Rapptz | 2021-06-08 | 2 | -0/+32 |
| | | |||||
| * | Remove view syncing before editing in views | Rapptz | 2021-05-31 | 1 | -3/+6 |
| | | | | | | This prevents a potential race condition when a MESSAGE_UPDATE is received syncing and refreshing the view components causing a desync. | ||||
| * | Check for view finished state before resuming listening on edit | Rapptz | 2021-05-31 | 1 | -1/+1 |
| | | |||||
| * | Add support for sending and editing views in Webhook | Rapptz | 2021-05-30 | 1 | -5/+55 |
| | | |||||
| * | Allow Webhook.send to send ephemeral messages | Rapptz | 2021-05-30 | 1 | -2/+21 |
| | | | | | This is only available for application webhooks | ||||
| * | Add interaction related endpoints to async webhook | Rapptz | 2021-05-27 | 1 | -0/+73 |
| | | |||||
| * | Fix Webhook example | apple502j | 2021-05-23 | 1 | -1/+1 |
| | | |||||
| * | Fix various reference issues in documentation | Josh | 2021-05-06 | 2 | -4/+0 |
| | | | | | Co-Authored-By: Riley Shaw <[email protected]> | ||||
| * | Replace uses of Ellipsis as sentinels with utils.MISSING | Josh | 2021-05-03 | 2 | -2/+2 |
| | | |||||
| * | Clarify Webhook.send return value documentation | NoName | 2021-05-02 | 2 | -4/+4 |
| | | |||||
| * | Fix SyncWebhook exception case causing attribute errors | Rapptz | 2021-05-01 | 1 | -0/+3 |
| | | |||||
| * | Fix sending multipart data with SyncWebhook | Rapptz | 2021-05-01 | 1 | -4/+8 |
| | | | | | Fixes #6825 | ||||
| * | Add utils.MISSING | Nadir Chowdhury | 2021-04-29 | 2 | -12/+6 |
| | | |||||
| * | [docs] Remove extraneous icon definition | Josh | 2021-04-25 | 1 | -2/+0 |
| | | |||||
| * | Rename lingering _url Asset properties | Nadir Chowdhury | 2021-04-21 | 1 | -1/+1 |
| | | |||||
| * | 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 | |||||