From d97cd0e5b427954f3d5f40d43b27dbb545b2f227 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:19:24 +0700 Subject: [PATCH] fixes --- program/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/start.py b/program/start.py index 149abea..58c911d 100644 --- a/program/start.py +++ b/program/start.py @@ -185,7 +185,7 @@ async def new_chat(c: Client, m: Message): ass_uname = (await user.get_me()).username bot_id = (await c.get_me()).id for member in m.new_chat_members: - if chat_id in blacklisted_chats(): + if chat_id in await blacklisted_chats(): await m.reply( "❗️ This chat has blacklisted by sudo user and You're not allowed to use me in this chat." )