fixes and reformat

This commit is contained in:
levina 2022-02-06 13:56:10 +07:00 committed by GitHub
parent 26d719f0fe
commit 7219a1b384
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):
user_id = message.from_user.id
if await is_gbanned_user(user_id):
await message.reply_text("❗️ **You've been blocked from using this bot!")
await message.reply_text("❗️ **You've blocked from using this bot!**")
return
if len(message.command) < 2:
return await message.reply_text("/search **needs an argument !**")