diff --git a/program/video.py b/program/video.py index 4c7dc08..4aaafc2 100644 --- a/program/video.py +++ b/program/video.py @@ -70,7 +70,7 @@ async def vplay(c: Client, m: Message): chat_id = m.chat.id user_id = m.from_user.id user_xd = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" - 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." ) @@ -348,7 +348,7 @@ async def vstream(c: Client, m: Message): chat_id = m.chat.id user_id = m.from_user.id user_xd = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" - 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." )