must delete
This commit is contained in:
parent
f13740e493
commit
7209e3a49e
@ -29,6 +29,7 @@ async def song_downloader(_, message):
|
|||||||
if await is_gbanned_user(user_id):
|
if await is_gbanned_user(user_id):
|
||||||
await message.reply("❗️ **You've blocked from using this bot!**")
|
await message.reply("❗️ **You've blocked from using this bot!**")
|
||||||
return
|
return
|
||||||
|
await message.delete()
|
||||||
query = " ".join(message.command[1:])
|
query = " ".join(message.command[1:])
|
||||||
m = await message.reply("🔎 finding song...")
|
m = await message.reply("🔎 finding song...")
|
||||||
ydl_ops = {
|
ydl_ops = {
|
||||||
@ -95,6 +96,7 @@ async def video_downloader(_, message):
|
|||||||
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
|
||||||
|
await message.delete()
|
||||||
ydl_opts = {
|
ydl_opts = {
|
||||||
"format": "best",
|
"format": "best",
|
||||||
"keepvideo": True,
|
"keepvideo": True,
|
||||||
|
Loading…
Reference in New Issue
Block a user