Fix Guild.chunk() returning list of members

This commit is contained in:
Steve C 2022-03-05 22:10:58 -05:00 committed by GitHub
parent b20ab5ae5d
commit e9c91a535a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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