From 707cb47438052f82c19acb1724b3b5f7e504fae0 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 19 Oct 2020 19:37:16 -0400 Subject: [PATCH] Fix error when querying members from the gateway. I accidentally made this return True instead of the actual member list --- discord/state.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/discord/state.py b/discord/state.py index 5937fec32..a53674fd0 100644 --- a/discord/state.py +++ b/discord/state.py @@ -83,8 +83,7 @@ class ChunkRequest: future = self.loop.create_future() self.waiters.append(future) try: - await future - return True + return await future finally: self.waiters.remove(future)