mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-21 03:27:42 +00:00
Fix some regressions from create_task change
This commit is contained in:
+1
-1
@@ -1118,7 +1118,7 @@ class AutoShardedConnectionState(ConnectionState):
|
||||
current_bucket = []
|
||||
|
||||
# Chunk the guild in the background while we wait for GUILD_CREATE streaming
|
||||
future = asyncio.create_task(self.chunk_guild(guild))
|
||||
future = asyncio.ensure_future(self.chunk_guild(guild))
|
||||
current_bucket.append(future)
|
||||
else:
|
||||
future = self.loop.create_future()
|
||||
|
||||
Reference in New Issue
Block a user