mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Add missing await keywords
This commit is contained in:
parent
61e9762977
commit
e83012bfb8
2 changed files with 2 additions and 2 deletions
|
|
@ -126,5 +126,5 @@ class BaseClient:
|
||||||
async def get_chat_members(self, *args, **kwargs):
|
async def get_chat_members(self, *args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_chat_members_count(self, *args, **kwargs):
|
async def get_chat_members_count(self, *args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ class IterChatMembers(BaseClient):
|
||||||
|
|
||||||
filter = (
|
filter = (
|
||||||
Filters.RECENT
|
Filters.RECENT
|
||||||
if self.get_chat_members_count(chat_id) <= 10000 and filter == Filters.ALL
|
if await self.get_chat_members_count(chat_id) <= 10000 and filter == Filters.ALL
|
||||||
else filter
|
else filter
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue