aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Update Client documentation.Khazhismel2016-10-021-1/+1
|
* Fix URL pointing to better method in Client.change_statusRapptz2016-09-271-1/+1
|
* Add the ability to add, delete, and edit custom emoji.Rapptz2016-09-261-0/+87
|
* Add support for "Do Not Disturb" and "Invisible" statuses.Rapptz2016-09-261-2/+40
| | | | | This deprecates Client.change_status in favour of the newer and more correct Client.change_presence.
* Remove unused endpoints.py file.Rapptz2016-09-251-5/+2
|
* Add Client.get_user_info to retrieve a User from ID.Rapptz2016-09-251-0/+27
|
* Add support for server verification levels.Rapptz2016-09-121-1/+8
| | | | | | This adds a new enum named VerificationLevel to denote said verification level. This enum will also be used in the Client.edit_server calls instead of the undocumented int parameter.
* Fix bug that disallowed ServerRegion from being used in edit_server.Rapptz2016-09-091-0/+3
|
* Document that Client.get_channel works with PrivateChannel too.Rapptz2016-08-141-1/+1
|
* Document what it means that an object is not edited in-place explicitlyRapptz2016-08-141-11/+22
| | | | | | This seems to be a very common question regarding the docs so might as well document exactly what this means rather than using cryptic and confusing wording.
* Add custom emoji support.Khazhismel2016-07-311-0/+6
|
* Add functions to query and actually prune members from a server.Rapptz2016-07-291-1/+78
|
* Clarify that Client.purge_from requires Manage Messages for anything.Rapptz2016-07-291-3/+3
|
* Fix KeyError when creating private channels in start_private_message.Rapptz2016-07-251-1/+1
| | | | I was not passing the full updated v6 payload.
* Fix TypeError when constructing a channel in start_private_message.Rapptz2016-07-231-1/+1
|
* Add AppInfo.owner attribute.Rapptz2016-07-211-2/+3
|
* Add support for querying information about group calls.Rapptz2016-07-151-0/+16
|
* Save email when login with a token on a user accountPapyrusThePlant2016-07-061-1/+2
|
* Fix issue with removing roles out of order.Rapptz2016-07-041-7/+2
| | | | Fixes #250.
* Make PyNaCl optionalHornwitser2016-06-281-0/+4
|
* Guild Sharding supportcookie2016-06-261-0/+6
|
* Document that bot users can't use Client.accept_inviteRapptz2016-06-261-0/+2
|
* Fix bug with edit_profile for user accountsHarmon7582016-06-231-1/+1
|
* Fix bug with Client.server_voice_state not deafening.Rapptz2016-06-221-3/+3
|
* Support for v5 Gateway.Rapptz2016-06-221-2/+11
|
* Fix bug with deleting private messages.Rapptz2016-06-201-3/+5
| | | | | | This was due to an AttributeError occurring when getting the guild_id from the channel. PrivateChannels do not have guild_ids so they should be None.
* Clarify that Client.logs_from can take a PrivateChannel too.Rapptz2016-06-181-1/+1
|
* Add support for message pinning.Rapptz2016-06-181-0/+69
| | | | | | This includes `Client.pin_message`, `Client.unpin_message` and `Client.pins_from`. This also adds the `Message.pinned` attribute to the `Message` object.
* Don't assume that any shared fields are optional in Client.edit_channel.Rapptz2016-06-151-2/+4
| | | | Thanks Jake and night.
* The name is required in Client.edit_channel so add it if it is missing.Rapptz2016-06-151-0/+3
|
* Add Client.get_messageRapptz2016-06-151-0/+34
|
* Make Client.edit_channel_permissions use PermissionOverwrite.Rapptz2016-06-141-19/+15
|
* Add a way to set permission overwrites when creating a channel.Rapptz2016-06-141-3/+68
|
* Fix bug with editing messages over private messages.Rapptz2016-06-141-2/+2
|
* Doc string typosPapyrusThePlant2016-06-141-2/+2
|
* Fix concurrently joining more than one voice server at a timeJake2016-06-131-2/+3
|
* Give Client.email a default value of None.Rapptz2016-06-121-0/+1
|
* Make the default filename a little bit prettier.Rapptz2016-06-121-1/+2
|
* Fix bug with login token not being properly written in cache.Rapptz2016-06-121-3/+4
|
* Fix bug with logs_from URL params not being correct.Rapptz2016-06-121-0/+3
| | | | The bug happened because I forgot to pass in the id attribute.
* Fix bug with uploading file-like objects.Rapptz2016-06-121-2/+2
| | | | | I would require bytes-like objects instead due to its usage inside the HTTPClient. Release this restriction so old `send_file` code works.
* Fix bug with logging in with email and password.Rapptz2016-06-121-1/+1
|
* Fix bug with edit_role and create_role not working.Rapptz2016-06-121-1/+5
| | | | This was due to an error in overzealous removal of code.
* Rewrite HTTP handling significantly.Rapptz2016-06-121-447/+98
| | | | | | | | | 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.
* Change HTTPException to only take a single parameter.Rapptz2016-06-121-1/+0
|
* Add Client.application_info to retrieve the current app info.Rapptz2016-06-101-0/+39
| | | | Fixes #241.
* Add Client.move_channel to change channel positions.Rapptz2016-06-071-3/+62
|
* Add `bot` keyword argument to login via static token.Rapptz2016-06-031-10/+21
|
* Add Role.server attribute.Rapptz2016-06-011-2/+1
| | | | This breaks events that expected a server parameter for the role events.
* Add RESUME support.Rapptz2016-06-011-3/+4
|