diff options
| author | Bryan Forbes <[email protected]> | 2018-08-25 14:49:25 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-08-28 23:50:55 -0400 |
| commit | b6824c073e23deff7982f19a747b89b6e3b8fecc (patch) | |
| tree | b6a47fde0ac82fae1d0da0a81ac2e3cdccd49930 | |
| parent | Fix CallMessage.duration calculation (diff) | |
| download | discord.py-b6824c073e23deff7982f19a747b89b6e3b8fecc.tar.xz discord.py-b6824c073e23deff7982f19a747b89b6e3b8fecc.zip | |
Ensure large guilds are properly appended to the ready state guild list
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py index f3038573..e869fec0 100644 --- a/discord/state.py +++ b/discord/state.py @@ -968,7 +968,7 @@ class AutoShardedConnectionState(ConnectionState): for guild_data in data['guilds']: guild = self._add_guild_from_data(guild_data) if guild.large: - guilds.append(guild) + guilds.append((guild, guild.unavailable)) for pm in data.get('private_channels', []): factory, _ = _channel_factory(pm['type']) |