aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Allow datetime in limit parameters for purge_fromHarmon7582016-05-311-4/+11
| | | | Check for datetime instead of using logs_from, for 3.4 compatibility
* Allow to edit mentionable property in Client.edit_role.Rapptz2016-05-271-1/+4
|
* Documentation fixes for role related functions.Rapptz2016-05-231-12/+4
|
* Close voice connections before closing the websocket.Rapptz2016-05-221-3/+9
|
* Fix purge_from to use LogsFromIterator.create (#219)Harmon2016-05-201-1/+1
|
* Add support for voice channel user limits.Rapptz2016-05-201-1/+13
|
* logs_from improvements for after param.Khazhismel Kumykov2016-05-201-10/+14
| | | | | | | | - Properly support 'after' alone - Properly support both 'before' and 'after' - Add optional 'reverse' parameter to sort messages oldest->newest to 1) provide a sorted result set for 'after' 2) give flexibility when using both 'before' and 'after'
* Allow datetime in limit parameters for logs_from.Khazhismel Kumykov2016-05-201-6/+15
| | | | Add time_snowflake to convert a datetime to a "snowflake".
* Retry send_file on 502.Khazhismel Kumykov2016-05-201-9/+11
| | | | Rename _rate_limit_helper to _retry_helper
* Add move_roleKhazhismel Kumykov2016-05-201-0/+56
| | | | | | move_role will only send changed roles. discord will accept trying to move to position 0, or trying to move the everyone role. It will result in unexpected changes, so we prohibit it.