This commit is contained in:
levina 2022-02-07 10:00:09 +07:00 committed by GitHub
parent cc05484cbd
commit a55eeab097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ keyboard = InlineKeyboardMarkup(
@Client.on_message(command(["playlist", f"playlist@{BOT_USERNAME}", "queue", f"queue@{BOT_USERNAME}"]) & other_filters) @Client.on_message(command(["playlist", f"playlist@{BOT_USERNAME}", "queue", f"queue@{BOT_USERNAME}"]) & other_filters)
async def playlist(client, m: Message): async def playlist(client, m: Message):
chat_id = m.chat.id chat_id = m.chat.id
user_id = message.from_user.id user_id = m.from_user.id
if await is_gbanned_user(user_id): if await is_gbanned_user(user_id):
await message.reply_text("❗️ **You've blocked from using this bot!**") await message.reply_text("❗️ **You've blocked from using this bot!**")
return return