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.')
|
raise ClientException('Intents.members must be enabled to use this.')
|
||||||
|
|
||||||
if not self._state.is_guild_evicted(self):
|
if not self._state.is_guild_evicted(self):
|
||||||
await self._state.chunk_guild(self, cache=cache)
|
return await self._state.chunk_guild(self, cache=cache)
|
||||||
return
|
|
||||||
|
|
||||||
async def query_members(
|
async def query_members(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user