aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Implement `Guild.fetch_roles`NCPlayz2019-06-291-0/+3
|
* Implement `Guild.fetch_members`NCPlayz2019-06-291-0/+10
| | | | Also implements `MemberIterator`.
* Implementing GET '/channels/:id' & '/guilds/:id/channels'NCPlayz2019-06-071-0/+7
| | | | Signed-off-by: NCPlayz <[email protected]>
* Add support for system channel flagsRapptz2019-06-061-1/+2
|
* Properly handle compute_prune_count in prune members endpoint.Rapptz2019-05-301-1/+1
|
* Add reason to TextChannel.create_webhookRapptz2019-04-181-2/+3
| | | | | The reason parameter does not work with webhook deletes or edits so they're not added. Probably a Discord bug.
* Internal consistency with message related HTTPClient methodsRapptz2019-04-141-7/+7
|
* Add compute_prune_count to Guild.prune_membersRapptz2019-04-141-2/+3
| | | | Fix #2085
* allow passing 0 for logs_from parameterskhazhyk2019-04-071-3/+3
|
* Add fetch custom emoji, all custom emojis; Add user property to EmojiNCPlayz2019-04-061-0/+6
|
* Redesign asset retrieval in the library.NCPlayz2019-04-061-4/+4
| | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997
* Propagate Cloudflare 429 HTML text.Rapptz2019-03-311-0/+4
|
* Added functionality to edit user settingsCapnS2019-03-281-0/+3
| | | | | | | | | | | | Changing docs to fit other parts of the lib Co-Authored-By: CapnS <[email protected]> Removing Type Checking Made all of Rapptz's suggested changes Removing imports that are no longer needed
* Double underscore HTTPClient's internal session.Rapptz2019-03-241-8/+8
|
* Add support for guild widgetNCPlayz2019-03-191-0/+3
|
* Expose MetadataNCPlayz2019-03-191-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added access to: * `/users/@me/guilds` * `/guilds/{guild_id}` * `/guilds/{guild_id}/members/{member_id}` BREAKING CHANGE: * `get_user_info` -> `fetch_user_info` to match naming scheme. Remove useless note Remove `reverse` and corresponding documentation Update documentation to reflect #1988 Rename `get_` HTTP functions to `fetch_` Breaking Changes: * `get_message` -> `fetch_message` * `get_invite` -> `fetch_invite` * `get_user_profile` -> `fetch_user_profile` * `get_webhook_info` -> `fetch_webhook` * `get_ban` -> `fetch_ban` Fix InviteConverter, update migrating.rst Rename get_message to fetch_message
* Take back ownership of files from aiohttp for retrying requests.Rapptz2019-03-181-6/+10
| | | | Fix #1809
* Add support for guild bannersSnowyLuma2019-03-091-1/+1
| | | | | | | | Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <[email protected]>
* Add support for guild descriptionsTarek13372019-03-081-1/+1
|