This commit is contained in:
levina 2022-02-06 11:57:46 +07:00 committed by GitHub
parent d91de71911
commit bff0ea3eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ from youtube_search import YoutubeSearch
async def ytsearch(_, message: Message): async def ytsearch(_, message: Message):
user_id = message.from_user.id user_id = message.from_user.id
if await is_gbanned_user(user_id): if await is_gbanned_user(user_id):
await message.reply_text(f"❗️ **You've been blocked from using this bot!") await message.reply_text("❗️ **You've been blocked from using this bot!")
return return
if len(message.command) < 2: if len(message.command) < 2:
return await message.reply_text("/search **needs an argument !**") return await message.reply_text("/search **needs an argument !**")