diff options
| author | Rapptz <[email protected]> | 2020-10-19 19:37:16 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-10-19 19:37:16 -0400 |
| commit | 707cb47438052f82c19acb1724b3b5f7e504fae0 (patch) | |
| tree | f5c5d3d6c5e35484acd797d80e06e8f7a1711cb0 | |
| parent | Allow concurrent calls to guild.chunk() (diff) | |
| download | discord.py-707cb47438052f82c19acb1724b3b5f7e504fae0.tar.xz discord.py-707cb47438052f82c19acb1724b3b5f7e504fae0.zip | |
Fix error when querying members from the gateway.
I accidentally made this return True instead of the actual member list
| -rw-r--r-- | discord/state.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index 5937fec3..a53674fd 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) |