fixes
This commit is contained in:
parent
52041bd2f7
commit
e020da1061
@ -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."
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user