diff options
| author | Rapptz <[email protected]> | 2017-01-08 02:05:21 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-08 02:05:21 -0500 |
| commit | 92c1637921c13c092fa9b40e98c27605d2c32431 (patch) | |
| tree | 3a7b2f0283ed35e833bcb1b2de30b45113907d13 /discord/state.py | |
| parent | Add AutoShardedClient.change_presence. (diff) | |
| download | discord.py-92c1637921c13c092fa9b40e98c27605d2c32431.tar.xz discord.py-92c1637921c13c092fa9b40e98c27605d2c32431.zip | |
Allow overriding the shard_ids used for initial shard launch.
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/discord/state.py b/discord/state.py index bd7fbdbe..543e8a63 100644 --- a/discord/state.py +++ b/discord/state.py @@ -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 |