none
This commit is contained in:
parent
d91de71911
commit
bff0ea3eba
@ -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 !**")
|
||||||
|
Loading…
Reference in New Issue
Block a user