aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/shard.py')
-rw-r--r--discord/shard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/shard.py b/discord/shard.py
index 55600e56..d0da4151 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -124,7 +124,8 @@ class AutoShardedClient(Client):
raise ClientException('shard_ids parameter must be a list or a tuple.')
self._connection = AutoShardedConnectionState(dispatch=self.dispatch, chunker=self._chunker,
- syncer=self._syncer, http=self.http, loop=self.loop, **kwargs)
+ handlers=self._handlers, syncer=self._syncer,
+ http=self.http, loop=self.loop, **kwargs)
# instead of a single websocket, we have multiple
# the key is the shard_id