mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
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:
parent
1a6295dffb
commit
707cb47438
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user