fixes and reformat
This commit is contained in:
parent
26d719f0fe
commit
7219a1b384
@ -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("❗️ **You've been blocked from using this bot!")
|
await message.reply_text("❗️ **You've 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 !**")
|
||||||
|
Loading…
Reference in New Issue
Block a user