mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Fix iter_members not working properly as async generator
This commit is contained in:
parent
570cb888b2
commit
1b0b467d7b
1 changed files with 2 additions and 2 deletions
|
|
@ -781,7 +781,7 @@ class Chat(Object):
|
|||
filter=filter
|
||||
)
|
||||
|
||||
async def iter_members(
|
||||
def iter_members(
|
||||
self,
|
||||
limit: int = 0,
|
||||
query: str = "",
|
||||
|
|
@ -806,7 +806,7 @@ class Chat(Object):
|
|||
``Generator``: A generator yielding :obj:`ChatMember` objects.
|
||||
"""
|
||||
|
||||
return await self._client.iter_chat_members(
|
||||
return self._client.iter_chat_members(
|
||||
self.id,
|
||||
limit=limit,
|
||||
query=query,
|
||||
|
|
|
|||
Loading…
Reference in a new issue