mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Ensure large guilds are properly appended to the ready state guild list
This commit is contained in:
parent
b3bfec9119
commit
b6824c073e
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user