aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapple502j <[email protected]>2020-05-12 01:49:21 +0900
committerRapptz <[email protected]>2020-05-23 21:56:27 -0400
commitcb43e19bea61586a09f2accf06f291d8be0e438b (patch)
tree52b06d8dfd6d26e20eaa6103b5ff880a8981ea15
parentAllow clearing the author information in embeds. (diff)
downloaddiscord.py-cb43e19bea61586a09f2accf06f291d8be0e438b.tar.xz
discord.py-cb43e19bea61586a09f2accf06f291d8be0e438b.zip
Fix TypeError in chunker
-rw-r--r--discord/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py
index 182c2402..75872348 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -747,7 +747,7 @@ class ConnectionState:
async def _chunk_and_dispatch(self, guild, unavailable):
chunks = list(self.chunks_needed(guild))
- await self.chunker(guild)
+ await self.chunker(guild.id)
if chunks:
try:
await utils.sane_wait_for(chunks, timeout=len(chunks))