Allow overriding the shard_ids used for initial shard launch.

This commit is contained in:
Rapptz
2017-01-08 02:05:21 -05:00
parent 4bc6625739
commit 92c1637921
3 changed files with 22 additions and 6 deletions

View File

@ -743,9 +743,6 @@ class AutoShardedConnectionState(ConnectionState):
self.dispatch('shard_ready', shard_id)
# sleep a second for every shard ID.
# yield from asyncio.sleep(1.0, loop=self.loop)
# remove the state
try:
del self._ready_state