Fix error when querying members from the gateway.

I accidentally made this return True instead of the actual member list
This commit is contained in:
Rapptz 2020-10-19 19:37:16 -04:00
parent 1a6295dffb
commit 707cb47438

View File

@ -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)