diff options
| author | Rapptz <[email protected]> | 2020-09-04 23:39:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-09-23 03:21:17 -0400 |
| commit | 3df269daa33b1db1097b76aea573c1d338df232d (patch) | |
| tree | 511a788066256b6285c8b342f3483ee5f6f72252 | |
| parent | Handle user updates within GUILD_MEMBER_UPDATE (diff) | |
| download | discord.py-3df269daa33b1db1097b76aea573c1d338df232d.tar.xz discord.py-3df269daa33b1db1097b76aea573c1d338df232d.zip | |
All guilds require chunking if opting into it
| -rw-r--r-- | discord/state.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/discord/state.py b/discord/state.py index a2a2dee6..b4b72d3a 100644 --- a/discord/state.py +++ b/discord/state.py @@ -769,12 +769,9 @@ class ConnectionState: return # check if it requires chunking - if guild.large: - # since we're not waiting for 'useful' READY we'll just - # do the chunk request here if wanted - if self._fetch_offline: - asyncio.ensure_future(self._chunk_and_dispatch(guild, unavailable), loop=self.loop) - return + if self._fetch_offline: + asyncio.ensure_future(self._chunk_and_dispatch(guild, unavailable), loop=self.loop) + return # Dispatch available if newly available if unavailable is False: |