aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove Client.voice_channelRapptz2015-12-291-4/+3
|
* Client.join_voice_channel now accepts an Object.Rapptz2015-12-291-0/+3
| | | | Fixes #62.
* Simplify parser event check with hasattr rather than tuples.Rapptz2015-12-291-9/+3
|
* Add missing ` in documentation for create_serverRapptz2015-12-291-1/+1
|
* ConnectionState is now constructed in Client.__init__.Rapptz2015-12-291-12/+10
| | | | | | This should reduce the amount of checks for None if someone doesn't want a websocket connection. The connection state is instead cleared rather than reconstructed.
* Raise ClientException if an unexpected websocket close happensRapptz2015-12-291-1/+5
|
* Client.create_invite now works without a websocket connectionRapptz2015-12-291-18/+18
|
* Client.get_invite now works without a websocket connectionRapptz2015-12-291-1/+4
|
* Client.email is now set when using the cacheRapptz2015-12-281-0/+1
|
* Add missing argument in _rate_limit_helperKhazhismel2015-12-261-1/+1
|
* Added missing Member import to client.pySamSchlegel2015-12-241-0/+1
|
* Add game data class, replace game_id.Khazhismel2015-12-231-13/+12
|
* Mentions are now <@id> *only* - remove mentions array on send and edit messageKhazhismel2015-12-231-23/+4
|
* None author param in wait_for_message allows any authorKhazhismel2015-12-221-1/+4
|
* Fix NameError with Permissions missing.Rapptz2015-12-191-2/+3
|
* Rename some listeners to `wait_until_`.Rapptz2015-12-191-3/+3
| | | | Mainly login and ready listeners.
* Add listener for on_ready event for easier background tasks.Rapptz2015-12-191-0/+27
|
* 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
|