aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect typehint in send_messageWilly2021-07-211-2/+2
|
* Re-try requests on 504 error and raise correct errorLilly Rose Berner2021-07-091-3/+3
|
* Allow use of orjson instead of jsonRapptz2021-07-071-1/+1
| | | | | | | The difference in speed seems negligible at start up, which is when most time is taken for actually parsing JSON. I could potentially be missing something but profiling didn't point to any discernable difference.
* Fix typing errors with ClientRapptz2021-07-041-4/+6
|
* Fix type errors and potentially unbound code in http.pyRapptz2021-07-041-28/+35
|
* Rework User.edit to have proper typingRapptz2021-06-291-7/+1
|
* Add support for sending multiple embedsAomi Vel2021-06-271-2/+8
|
* Type-Hint http.pyJosh2021-06-101-245/+518
|
* Clarify actions that require manage_threads permissionRapptz2021-06-081-0/+1
|
* Bump gateway API to v9Rapptz2021-06-081-4/+4
|
* Update thread typings and payloads to match documentationRapptz2021-06-081-8/+27
|
* Implement remaining HTTP endpoints on threadsRapptz2021-06-081-5/+11
| | | | | I'm not sure if I missed any -- but this is the entire documented set so far.
* First pass at preliminary thread supportRapptz2021-06-081-0/+77
| | | | | This is missing a lot of functionality right now, such as two gateway events and all the HTTP CRUD endpoints.
* update types subpackage with latest docs Nadir Chowdhury2021-06-071-10/+11
|
* Add support for editing guild widgetsMhmCats2021-06-021-0/+3
|
* Implement StageInstanceNadir Chowdhury2021-05-301-0/+29
|
* Add invite targets for voice channel invitesZomatree2021-05-291-0/+12
|
* Add initial support for buttons and componentsRapptz2021-05-271-2/+18
|
* Typehint emoji classesRapptz2021-05-051-5/+1
|
* Type hint GuildChannel and don't make it a ProtocolRapptz2021-05-051-6/+16
| | | | This reverts GuildChannel back into a base class mixin.
* Add discovery_splash and community field to Guild.editNadir Chowdhury2021-05-051-0/+2
|
* Add fetch_invite with with_expirationNadir Chowdhury2021-05-011-1/+2
|
* Fix guild application command endpointsJoey van Langen2021-05-011-6/+6
|
* Add types for ApplicationCommandPermissions & coNadir Chowdhury2021-05-011-0/+38
|
* Add VoiceChannel.video_quality_modez03h2021-04-171-0/+2
|
* Add `fetch_message` for webhooksNadir Chowdhury2021-04-161-0/+13
|
* Some initial response typingsRapptz2021-04-161-11/+24
|
* Fix rate limit handling with retry_after precision changeRapptz2021-04-151-1/+2
|
* Rewrite webhooks to play better with typings and rate limitsRapptz2021-04-151-2/+3
| | | | | | | | | | | | | | | | | 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
* First pass at supporting v8 APIRapptz2021-04-111-11/+10
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-2/+2
|
* Revert "Remove unused group functionality"Rapptz2021-04-071-0/+12
| | | | This reverts commit d69b2f0af563993bdae425f4bb92fb555a238933.
* Fix AttributeError on HTTPClient.send_file to be send_filesSteve C2021-04-071-1/+1
|
* Use `format_map` instead of `format` for `Route.url` Nadir Chowdhury2021-04-061-1/+1
|
* Remove unused group functionalityRapptz2021-04-061-12/+0
|
* Reformat HTTPClient and add interaction endpointsRapptz2021-04-061-105/+484
|
* Remove userbot functionalityRapptz2021-04-041-87/+11
| | | | | 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-stringsRapptz2021-04-041-3/+1
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Implement StageChannel and related methodsNadir Chowdhury2021-04-031-0/+8
|
* Implement voice region changing for voice channelsTarek2021-04-011-3/+3
|
* Recreate aiohttp.FormData objects during request retriesRapptz2021-03-241-7/+24
| | | | Fixes #6531
* Add roles to guild.estimate_pruned_membersz03h2021-03-241-1/+4
|
* remove trailing whitespaceNadir Chowdhury2021-03-131-2/+2
|
* Add remaining template endpointsNadir Chowdhury2021-02-231-0/+22
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Support setting the preferred locale via Guild.editRapptz2021-01-051-1/+1
| | | | Fix #6267
* Implement discord.Message.replyPikalaxALT2020-11-261-2/+7
|
* Raise DiscordServerError for 503 Service Unavailable errorsHarmon2020-11-211-0/+2
|
* Use delete_message_days instead of delete-message-daysRapptz2020-09-231-1/+1
|
* Use /invites/ instead of /invite/Rapptz2020-09-231-2/+2
|