| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement a LRU cache for private channels. | Rapptz | 2017-07-04 | 1 | -1/+7 |
| | | | | | | | Another fix related to the discord issue[1]. [1]: https://github.com/hammerandchisel/discord-api-docs/issues/184 | ||||
| * | Add support for user flags in Profile. | Rapptz | 2017-06-30 | 1 | -2/+3 |
| | | |||||
| * | Defer logging formatting until the logger is actually called. | Rapptz | 2017-06-09 | 1 | -2/+2 |
| | | | | | | This would cause unnecessary format calls even if you didn't have logging enabled. | ||||
| * | Don't expose Client.messages | Rapptz | 2017-05-26 | 1 | -12/+1 |
| | | | | | | | | Not entirely sure why it was exposed in the first place. Most uses with it essentially boiled down to mis-usage when they meant to use the /messages endpoint (via Client.logs_from or Messageable.history) or complaining about the partial data woes that came from it. | ||||
| * | Log when a KeyboardInterrupt is met in Client.run | Rapptz | 2017-05-25 | 1 | -1/+1 |
| | | |||||
| * | Allow setting a presence upon logging in. | Rapptz | 2017-05-20 | 1 | -0/+4 |
| | | |||||
| * | Rewrite Client.run yet again. | Rapptz | 2017-05-20 | 1 | -16/+32 |
| | | | | | This time it should definitely fix #545. | ||||
| * | Re-raise exceptions from Client.start in Client.run. | Rapptz | 2017-05-20 | 1 | -15/+18 |
| | | |||||
| * | Re-implement how Client.run is done by using run_forever instead. | Rapptz | 2017-05-20 | 1 | -4/+18 |
| | | |||||
| * | Only do loop cleanup in finally block when on windows. | Rapptz | 2017-05-20 | 1 | -2/+4 |
| | | | | | Should also fix #545. | ||||
| * | Check if we're closing the event loop before using it. | Rapptz | 2017-05-20 | 1 | -1/+5 |
| | | | | | Should fix #545. | ||||
| * | Kill remaining references to discord.Channel in documentation. | Rapptz | 2017-05-19 | 1 | -3/+3 |
| | | |||||
| * | Rename internal ConnectionState attribute to have an underscore. | Rapptz | 2017-05-16 | 1 | -23/+23 |
| | | | | | | | Some people like to use that variable name apparently. See #568 and #569. | ||||
| * | Client.get_user_info uses int for IDs not str. | Rapptz | 2017-05-15 | 1 | -1/+1 |
| | | | | | Realistically both will work but let's not say that. | ||||
| * | Add back Client.create_guild. | Rapptz | 2017-05-09 | 1 | -1/+47 |
| | | |||||
| * | Replace hasattr with try except in chunker. | Rapptz | 2017-05-05 | 1 | -2/+2 |
| | | |||||
| * | Change some format usage to use %-formatting. | Rapptz | 2017-05-04 | 1 | -1/+1 |
| | | | | | | Minor speed increase when we're not doing excessive attribute access or any type of formatting. | ||||
| * | Add Client.get_emoji to get an Emoji from an ID. | Rapptz | 2017-04-30 | 1 | -0/+4 |
| | | |||||
| * | Fix some linting errors. | Rapptz | 2017-04-22 | 1 | -1/+1 |
| | | |||||
| * | Timeout when doing initial connection. | Rapptz | 2017-04-22 | 1 | -6/+7 |
| | | |||||
| * | Remove unused imports. | Rapptz | 2017-04-18 | 1 | -7/+2 |
| | | |||||
| * | Properly cleanup of VoiceClients in cache. | Rapptz | 2017-04-18 | 1 | -3/+1 |
| | | |||||
| * | Re-implement voice sending. | Rapptz | 2017-04-18 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | This is a complete redesign of the old voice code. A list of major changes is as follows: * The voice websocket will now automatically reconnect with exponential back-off just like the regular Client does. * Removal of the stream player concept. * Audio now gracefully pauses and resumes when a disconnect is found. * Introduce a discord.AudioSource concept to abstract streams * Flatten previous stream player functionality with the VoiceClient, e.g. player.stop() is now voice_client.stop() * With the above re-coupling this means you no longer have to store players anywhere. * The after function now requires a single parameter, the error, if any existed. This will typically be None. A lot of this design is experimental. | ||||
| * | Remove unnecessary shielding. | Rapptz | 2017-03-25 | 1 | -1/+1 |
| | | | | | | This was causing the exception to be suppressed and print 'NoneType' instead. | ||||
| * | Set closed state before actually finishing cleaning up. | Rapptz | 2017-03-24 | 1 | -1/+2 |
| | | |||||
| * | More robust cleanup for Client.run. | Rapptz | 2017-03-24 | 1 | -13/+24 |
| | | | | | | | | | | This should prevent asyncio.CancelledError from being propagated more and suppressed "Task was destroyed but was pending!" warnings when doing graceful closes outside of using a KeyboardInterrupt. To make clean up a bit more robust, also add signal handlers for POSIX systems. | ||||
| * | Check if we're closed before attempting to do a reconnect. | Rapptz | 2017-03-21 | 1 | -0/+3 |
| | | |||||
| * | Reconnect on any OSError. | Rapptz | 2017-03-20 | 1 | -3/+1 |
| | | |||||
| * | Fix Client inability to shard by actually propagating the shard_id | Rapptz | 2017-03-16 | 1 | -1/+1 |
| | | |||||
| * | Fix premium key being missing in profile endpoint. | Rapptz | 2017-03-13 | 1 | -2/+3 |
| | | |||||
| * | Retry on more exceptions in auto reconnect code. | Rapptz | 2017-03-07 | 1 | -1/+4 |
| | | |||||
| * | Remove Client.accept_invite | Rapptz | 2017-03-04 | 1 | -27/+0 |
| | | |||||
| * | Reconnect even if we close with 1000 since Discord can send it. | Rapptz | 2017-03-01 | 1 | -7/+10 |
| | | | | | | Rely on is_closed() instead since this is the true metric of a clean closure. | ||||
| * | Miscellaneous documentation fixes in Client.wait_for | Rapptz | 2017-02-23 | 1 | -4/+7 |
| | | |||||
| * | Remove Client.email attribute. | Rapptz | 2017-02-23 | 1 | -5/+0 |
| | | | | | Use ClientUser.email instead. | ||||
| * | Reconnect when a task times out and propagates. | Rapptz | 2017-02-19 | 1 | -0/+1 |
| | | |||||
| * | Add experimental reconnection logic. | Rapptz | 2017-02-15 | 1 | -12/+50 |
| | | |||||
| * | Add Client.get_user_profile to get an arbitrary user's profile. | Rapptz | 2017-02-10 | 1 | -1/+38 |
| | | |||||
| * | Add Client.emojis to get all emojis. | Rapptz | 2017-02-10 | 1 | -6/+5 |
| | | | | | This removes the older get_all_emojis generator. | ||||
| * | Fix NameError in Client.get_invite | Rapptz | 2017-02-10 | 1 | -1/+1 |
| | | |||||
| * | Fix support for instant invites. | Rapptz | 2017-02-08 | 1 | -91/+1 |
| | | |||||
| * | Rewrite RESUME logic to be more in line with what is requested. | Rapptz | 2017-02-08 | 1 | -8/+3 |
| | | | | | | | Apparently we should always try to RESUME first and if we get INVALIDATE_SESSION then we should IDENTIFY instead. This is the preferred way to do RESUMEs. | ||||
| * | Make all public is_ functions into methods instead of properties. | Rapptz | 2017-01-29 | 1 | -4/+2 |
| | | |||||
| * | Re-add Client.wait_until_ready | Rapptz | 2017-01-29 | 1 | -0/+22 |
| | | |||||
| * | Replace wait_for_* with a generic Client.wait_for | Rapptz | 2017-01-25 | 1 | -288/+84 |
| | | |||||
| * | Add compatibility shim for asyncio.Future creation. | Rapptz | 2017-01-25 | 1 | -2/+2 |
| | | | | | Should provide better support for uvloop. | ||||
| * | Remove unused ChannelPermissions namedtuple. | Rapptz | 2017-01-25 | 1 | -3/+0 |
| | | |||||
| * | Remove Client.__getattr__ and Client.__setattr__ shims. | Rapptz | 2017-01-25 | 1 | -25/+28 |
| | | | | | We should use properties instead. | ||||
| * | Optimise attribute access when dispatching. | Rapptz | 2017-01-25 | 1 | -7/+15 |
| | | |||||
| * | Add option to disable auto member chunking. | Rapptz | 2017-01-23 | 1 | -39/+53 |
| | | |||||