aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook/sync.py
Commit message (Collapse)AuthorAgeFilesLines
* Change avatar_url type hint to Any instead of strRapptz2021-08-271-5/+6
|
* Fix Webhook return typesSteve C2021-08-261-6/+6
| | | Also add positional only arguments where applicable
* Remove in-place edits and return fresh instances insteadRapptz2021-08-231-9/+22
| | | | Fixes #4098
* Fix webhook typings and use PartialMessageable instead of ObjectRapptz2021-08-221-3/+7
|
* Make json conversion functions privateRapptz2021-08-221-1/+1
|
* Make global log variable in modules privateRapptz2021-08-221-4/+4
|
* Fix SyncWebhook not working across thread barriersRapptz2021-07-301-11/+22
| | | | Fix #7310
* Remove extraneous __slots__ assignmentsRapptz2021-06-281-1/+1
|
* Add support for thread parameter in Webhook.sendRapptz2021-06-081-0/+13
|
* Fix various reference issues in documentationJosh2021-05-061-2/+0
| | | | Co-Authored-By: Riley Shaw <[email protected]>
* Replace uses of Ellipsis as sentinels with utils.MISSINGJosh2021-05-031-1/+1
|
* Clarify Webhook.send return value documentationNoName2021-05-021-1/+1
|
* Fix SyncWebhook exception case causing attribute errorsRapptz2021-05-011-0/+3
|
* Fix sending multipart data with SyncWebhookRapptz2021-05-011-4/+8
| | | | Fixes #6825
* Add utils.MISSINGNadir Chowdhury2021-04-291-1/+4
|
* Add `fetch_message` for webhooksNadir Chowdhury2021-04-161-3/+62
|
* Fix overloads on Webhook.send to not require wait kwargRapptz2021-04-151-1/+1
|
* Fix WebhookMessage.edit documentationRapptz2021-04-151-6/+1
|
* Fix rate limit handling with retry_after precision changeRapptz2021-04-151-2/+4
|
* Rewrite webhooks to play better with typings and rate limitsRapptz2021-04-151-0/+961
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