aboutsummaryrefslogtreecommitdiff
path: root/discord/state.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-01-08 02:05:21 -0500
committerRapptz <[email protected]>2017-01-08 02:05:21 -0500
commit92c1637921c13c092fa9b40e98c27605d2c32431 (patch)
tree3a7b2f0283ed35e833bcb1b2de30b45113907d13 /discord/state.py
parentAdd AutoShardedClient.change_presence. (diff)
downloaddiscord.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.py3
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