mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Fix Guild.chunk() returning list of members
This commit is contained in:
parent
b20ab5ae5d
commit
e9c91a535a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user