aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Add Message.nonce attribute.Rapptz2016-01-071-1/+3
|
* Documentation fixes to quiet Sphinx warnings.Rapptz2016-01-071-3/+3
|
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Revert "Use super() in classes that could be subclassed."Rapptz2016-01-041-1/+0
| | | | This reverts commit 948f565b430d80f782d0b7c264cc0b27aa1ec0b2.
* Use super() in classes that could be subclassed.Rapptz2016-01-041-0/+1
|
* Change permissions to remove the can_ prefix.Rapptz2016-01-031-2/+2
|
* Remove print statement from bytes check.Rapptz2016-01-011-1/+0
|
* Implement compressed READYRapptz2016-01-011-1/+10
|
* Actually send the payload data in Client.create_serverRapptz2015-12-311-1/+12
|
* Fix issue with add_roles and friends not working.Rapptz2015-12-301-2/+2
| | | | | Previously it stated that Role object is not serializable due to passing in Role objects rather than their IDs.
* Add logs to help debug some voice data.Rapptz2015-12-301-0/+2
|
* Maintain order in role related functions.Rapptz2015-12-301-9/+16
|
* Changed cache check to be the login endpoint itself.Rapptz2015-12-291-19/+5
|
* Fix indentation errorRapptz2015-12-291-1/+1
|
* Add ability to move members to a different voice channel.Rapptz2015-12-291-0/+43
|
* 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
|