aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for clearing a message's reactions.Rapptz2016-11-171-0/+4
|
* Add atomic add and remove role endpoints to HTTPClient.Rapptz2016-11-171-0/+8
| | | | These are currently unused since their use is pretty limited.
* Support message editing with rich embeds.Rapptz2016-11-131-4/+9
|
* Add support for rich embeds.Rapptz2016-11-131-2/+7
|
* Change buckets for reactions.Rapptz2016-11-061-3/+3
|
* Add support for reactions.khazhyk2016-10-271-0/+18
| | | | | | | | | | | Reactions can be be standard emojis, or custom server emojis. Adds - add/remove_reaction - get_reaction_users - Messages have new field reactions - new events - message_reaction_add, message_reaction_remove - new permission - add_reactions
* Add around parameter to LogsFromIterator.khazhyk2016-10-161-1/+3
|
* Add the ability to add, delete, and edit custom emoji.Rapptz2016-09-261-0/+22
|
* Add Client.get_user_info to retrieve a User from ID.Rapptz2016-09-251-0/+3
|
* Add functions to query and actually prune members from a server.Rapptz2016-07-291-0/+14
|
* Begin working on gateway v6 changes.Rapptz2016-07-131-2/+2
| | | | | The first batch of changes are related to channel types and group direct messages. Support these first so READY begins parsing.
* Fix bug with Client.server_voice_state not deafening.Rapptz2016-06-221-5/+8
|
* Support for v5 Gateway.Rapptz2016-06-221-1/+1
|
* Add support for message pinning.Rapptz2016-06-181-0/+12
| | | | | | This includes `Client.pin_message`, `Client.unpin_message` and `Client.pins_from`. This also adds the `Message.pinned` attribute to the `Message` object.
* Fix HTTPClient.recreate to actually work.Rapptz2016-06-181-1/+1
| | | | Forgot a keyword argument.
* Don't assume that any shared fields are optional in Client.edit_channel.Rapptz2016-06-151-1/+1
| | | | Thanks Jake and night.
* Make logging for HTTP requests more useful.Rapptz2016-06-151-5/+4
|
* Add Client.get_messageRapptz2016-06-151-0/+3
|
* Add a way to set permission overwrites when creating a channel.Rapptz2016-06-141-1/+4
|
* Fix bucket for change_nickname.Rapptz2016-06-141-1/+1
|
* Fix exception when handling login failureHornwitser2016-06-141-2/+2
| | | | | | Logging in with an invalid token would throw a TypeError due to improper passing of arguments to HTTPClient._token. Fix by properly passing the keyword only bot argument.
* Fix bug with uploading file-like objects.Rapptz2016-06-121-2/+1
| | | | | I would require bytes-like objects instead due to its usage inside the HTTPClient. Release this restriction so old `send_file` code works.
* Rewrite HTTP handling significantly.Rapptz2016-06-121-0/+484
This should have a more uniform approach to rate limit handling. Instead of queueing every request, wait until we receive a 429 and then block the requesting bucket until we're done being rate limited. This should reduce the number of 429s done by the API significantly (about 66% avg). This also consistently checks for 502 retries across all requests.