From 54288879e28cc63eefce33311ec393a4eed476c4 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 4 Apr 2021 10:09:25 -0400 Subject: Remove userbot functionality This has a lot of legacy and cruft so there may be some stuff I've missed but this first pass is enough to get a clear separation. --- discord/shard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/shard.py') diff --git a/discord/shard.py b/discord/shard.py index ce2174ac..ea1d3f5b 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -317,7 +317,7 @@ class AutoShardedClient(Client): def _get_state(self, **options): return AutoShardedConnectionState(dispatch=self.dispatch, - handlers=self._handlers, syncer=self._syncer, + handlers=self._handlers, hooks=self._hooks, http=self.http, loop=self.loop, **options) @property -- cgit v1.2.3