aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Make is_logged_in and is_closed into Events internally.Rapptz2015-12-191-12/+12
|
* Release connection when error occurs during login.Rapptz2015-12-181-4/+6
|
* Move email out of ConnectionState.Rapptz2015-12-181-3/+2
|
* Fix GUILD_MEMBER_UPDATE and GUILD_UPDATE not triggering.Rapptz2015-12-181-1/+1
|
* Disallow duplicates when adding or removing roles.Rapptz2015-12-181-2/+2
|
* Fix Client.replace_roles having hashable errors.Rapptz2015-12-181-4/+1
|
* Add first support for gateway redirects and reconnects.Rapptz2015-12-171-23/+71
|
* Add on_member_ban and on_member_unban events.Rapptz2015-12-171-1/+2
| | | | Fixes #58.
* Add way to delete messages after a user is banned.Rapptz2015-12-171-2/+9
| | | | Fixes #59.
* Documentation fixes.Rapptz2015-12-171-3/+3
|
* Change regex from \d+ to [0-9]+ for performance reasons.Rapptz2015-12-161-1/+1
| | | | \d+ includes unicode characters while [0-9]+ doesn't.
* Fix Client.logs_from failing if no more messages are found.Rapptz2015-12-161-3/+6
|
* Make Client.unban actually useful.Rapptz2015-12-161-11/+7
|
* Fix issue with roles being passed in being strings.Rapptz2015-12-161-12/+17
| | | | | | | | Client.add_roles and Client.remove_roles would dispatch to the Client.replace_roles function. However, replace_roles expects Role objects while the dispatching involved string IDs. So as a result this needed another layer of dispatch into a _replace_roles function to do the actual call that all three of them dispatch to.
* Fix NameError with itertools in client.Rapptz2015-12-161-0/+1
|
* Cast Retry-After header into a float.Rapptz2015-12-151-1/+1
|
* Add a way to get all active invites from a server.Rapptz2015-12-151-0/+41
|
* Add a way to get bans from a server.Rapptz2015-12-151-0/+34
|
* Client.run now does cleanup when KeyboardInterrupt is encountered.Rapptz2015-12-141-18/+46
|
* Editing profile now writes to the cache.Rapptz2015-12-131-37/+51
|
* Change the login cache check call to be the gateway retrieval.Rapptz2015-12-131-3/+13
|
* avoid potential bug when creating new private msgsSteven Berler2015-12-131-4/+5
| | | | | | | | | It probably isn't good to rely on an item that was added to a list to still be the last item, especially if we could have other async coroutines modify the list. This may not be an actual issue, but having the function explicitly return the object that it just added to the list should guarantee that we don't accidentally pull the wrong item from the end of the list later.
* Remove uses of ClientSession.Rapptz2015-12-131-37/+32
|
* Client.logout now properly cleans up the response.Rapptz2015-12-131-0/+1
|
* Implement cache of login credentials.Rapptz2015-12-131-3/+49
| | | | Also add endpoints.ME to easily access the @me endpoint.
* Client.login no longer calls resp.json()Rapptz2015-12-121-2/+1
| | | | aiohttp didn't like it.
* Fix bug where PMs would be sent to the wrong person.Rapptz2015-12-121-4/+5
| | | | | | | This bug triggered because we did not call `yield from` to the coroutine that starts the private message if it isn't found in cache. Obviously the fix for that is to make the destination resolution a coroutine and thus it'll be invoked correctly.
* Fix send_file to actually work with aiohttp.Rapptz2015-12-121-14/+10
|
* Proper keyword argument for send_fileRapptz2015-12-121-1/+1
|
* Implement fix for future rate limiting change in discord.Rapptz2015-12-121-4/+16
|
* Websocket now uses the event loop passed in.Rapptz2015-12-121-1/+1
|
* logs_from now works again with limit > 100.Rapptz2015-12-121-14/+27
|
* Close the ClientSession in __del__.Rapptz2015-12-101-0/+4
|
* Add missing Role import in Client.Rapptz2015-12-091-0/+1
|
* I'm being forced to change the user agent string again.Rapptz2015-12-091-1/+1
|
* Modify User-Agent header to meet React's requirements.Rapptz2015-12-091-1/+3
|
* Client now keeps a reference to the VoiceClient constructed.Rapptz2015-12-091-9/+22
|
* Add discord.version_infoRapptz2015-12-091-0/+5
|
* Clear up documentation on passing discord.ObjectRapptz2015-12-091-2/+5
|
* Add Client.wait_for_messageRapptz2015-12-091-0/+136
|
* Add OpusNotLoaded exception and opus.is_loaded utility function.Rapptz2015-12-081-0/+2
|
* Explicitly close responses that don't get read.Rapptz2015-12-081-0/+15
|
* Working voice sending implementation.Rapptz2015-12-081-1/+2
| | | | | Currently you can only send from a stream that implements ``read`` and a ``ffmpeg`` or ``avconv``.
* Work on connecting to a voice channel.Rapptz2015-12-071-20/+105
|
* Use @me endpoint for Client.start_private_messageRapptz2015-12-061-1/+1
|
* Forced keyword argument for allow/deny in edit_channel_permissionsRapptz2015-12-061-2/+2
|
* Handle GUILD_UPDATERapptz2015-12-061-4/+3
|
* Documentation fixes in Client.connect.Rapptz2015-12-051-2/+4
|
* Add role management functions.Rapptz2015-12-051-0/+328
|
* Add Client.delete_invite.Rapptz2015-12-051-3/+33
|