From cb43e19bea61586a09f2accf06f291d8be0e438b Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Tue, 12 May 2020 01:49:21 +0900 Subject: [PATCH] Fix TypeError in chunker --- discord/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/state.py b/discord/state.py index 182c24022..758723480 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))