mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix Guild.chunk() returning list of members
This commit is contained in:
1 parent
b20ab5ae5d
commit
e9c91a535a
1 file changed
+1
-2
+1
-2
@@ -3371,8 +3371,7 @@ class Guild(Hashable):
|
||||
raise ClientException('Intents.members must be enabled to use this.')
|
||||
|
||||
if not self._state.is_guild_evicted(self):
|
||||
await self._state.chunk_guild(self, cache=cache)
|
||||
return
|
||||
return await self._state.chunk_guild(self, cache=cache)
|
||||
|
||||
async def query_members(
|
||||
self,
|
||||
|
||||
Reference in new issue
Block a user