Rapptz
cadf6960b7
Use create_future wrapper for initially created Future.
8 years ago
Rapptz
ac90159c72
Improve logging in more places.
This shows the Shard ID in more places, along with a gateway trace and
session ID. Also helps show the RESUME/IDENTIFY/RESUMED/READY flow a
bit more instead of it looking like the connection has zombied out.
8 years ago
Rapptz
e5c5695399
Proper recursion when launching shards.
8 years ago
Rapptz
fd62c8a4f1
Aggregate shard closing futures instead of doing them sequentially.
8 years ago
Rapptz
5461bfb475
Check if we're closed before attempting to do a reconnect.
8 years ago
Rapptz
58fa5fdc9a
Add experimental reconnection logic.
8 years ago
Rapptz
dc486980f8
Rewrite RESUME logic to be more in line with what is requested.
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.
8 years ago
Rapptz
e77012f4d9
Make all public is_ functions into methods instead of properties.
8 years ago
Rapptz
e1aaf74fa7
Add option to disable auto member chunking.
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
898a05d5ea
Fix AutoShardedClient docstring.
8 years ago
Rapptz
93d267cd2b
Remove extraneous prints.
8 years ago
Rapptz
92c1637921
Allow overriding the shard_ids used for initial shard launch.
8 years ago
Rapptz
4bc6625739
Add AutoShardedClient.change_presence.
8 years ago
Rapptz
b5bed9ef33
Change the way shards are launched in AutoShardedClient.
8 years ago
Rapptz
20041ea756
Implement AutoShardedClient for transparent sharding.
This allows people to run their >2,500 guild bot in a single process
without the headaches of IPC/RPC or much difficulty.
8 years ago