This commit is contained in:
levina 2022-02-08 00:18:10 +07:00 committed by GitHub
parent 52041bd2f7
commit e020da1061
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ async def vplay(c: Client, m: Message):
chat_id = m.chat.id chat_id = m.chat.id
user_id = m.from_user.id user_id = m.from_user.id
user_xd = f"[{m.from_user.first_name}](tg://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( await m.reply(
"❗️ This chat has blacklisted by sudo user and You're not allowed to use me in this chat." "❗️ 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 chat_id = m.chat.id
user_id = m.from_user.id user_id = m.from_user.id
user_xd = f"[{m.from_user.first_name}](tg://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( await m.reply(
"❗️ This chat has blacklisted by sudo user and You're not allowed to use me in this chat." "❗️ This chat has blacklisted by sudo user and You're not allowed to use me in this chat."
) )