aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add a more concrete exception for 500 status codes.Rapptz2020-09-091-2/+5
| | | | Fixes #5797
* Use a subclass rather than monkey-patching for the websocketjack11422020-07-251-2/+3
|
* If we're out of retries just raise the OSErrorRapptz2020-07-251-3/+2
|
* Handle Connection Reset by Peer connection errors.Rapptz2020-07-251-58/+66
| | | | | | | | | | | | This should work both on Windows and on Linux. Apparently these types of blips are considered normal for Discord. So rather than letting the reconnect logic handler expect these to be catastrophic, it should handle it specially so it doesn't waste an IDENTIFY for what ultimately should just be a small networking blip. This also makes it less noisy for the end-user as these complaints happen from time to time.
* Fix voice websocket connectionsRapptz2020-07-251-1/+9
|
* Rewrite gateway to use aiohttp instead of websocketsRapptz2020-07-251-0/+11
|
* Fix TypeError when not specifying roles.Tarek2020-07-081-2/+4
|
* Allow more methods to set an audit log reasonNadir Chowdhury2020-06-301-6/+6
|
* Add support for integrationsNadir Chowdhury2020-06-281-0/+32
|
* Add support for Discord templatesNadir Chowdhury2020-06-281-0/+11
|
* Fix error raised when using the roles parameter.Tarek2020-06-261-3/+3
|
* Allow editing of channel types for news and text channelsNCPlayz2020-05-291-1/+2
|
* Implement some missing attributes of `Guild` (and `Guild.edit`)NCPlayz2020-05-231-1/+2
|
* Prepare for the discord.com domain renameRapptz2020-05-231-1/+1
|
* Add roles parameter for pruning members.unknown2020-05-031-2/+3
|
* Rename allowed mention parameters to allowed_mentionsRapptz2020-04-041-6/+6
|
* Add support for configuring allowed mentions per message or bot wide.Rapptz2020-04-041-2/+7
|
* Suppress missing Content-Type headers when fetching contentRapptz2020-02-221-2/+7
| | | | Fixes #2572
* Better detection for Cloudflare related 429s.Rapptz2020-02-011-1/+1
| | | | | | | At some point Cloudflare started returning some JSON. I don't know how this JSON looks like. See #2544
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Add support for clearing a specific reaction.Rapptz2020-01-171-1/+6
| | | | Closes #2440
* Implement discord.MessageFlagsNCPlayz2019-12-201-6/+4
| | | | Refactor flags placement and use it for suppression.
* Fix one more remaining loop passing for 3.8 in a LockRapptz2019-11-201-1/+1
|
* Fix all deprecation warnings for 3.8Rapptz2019-11-201-5/+5
|
* Implement `TextChannel.follow()`NCPlayz2019-11-151-0/+6
|
* Use X-Ratelimit-Reset-After header by default.Rapptz2019-08-271-2/+3
| | | | There is now an option to turn it off, of course.
* Fix bucket key to not have the method in there.Rapptz2019-08-271-1/+1
|
* Use new rate limit millisecond precision option.Rapptz2019-08-271-9/+6
|
* Add support for suppressing embeds.Rapptz2019-06-291-0/+6
|