fixes
This commit is contained in:
parent
e8653e5035
commit
b5d83fc188
@ -187,7 +187,7 @@ async def vplay(c: Client, m: Message):
|
|||||||
"» reply to an **video file** or **give something to search.**"
|
"» reply to an **video file** or **give something to search.**"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
loser = await m.send_message(chat_id, "🔎 **Searching...**")
|
loser = await c.send_message(chat_id, "🔎 **Searching...**")
|
||||||
query = m.text.split(None, 1)[1]
|
query = m.text.split(None, 1)[1]
|
||||||
search = ytsearch(query)
|
search = ytsearch(query)
|
||||||
Q = 720
|
Q = 720
|
||||||
@ -242,7 +242,7 @@ async def vplay(c: Client, m: Message):
|
|||||||
"» reply to an **video file** or **give something to search.**"
|
"» reply to an **video file** or **give something to search.**"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
loser = await m.send_message(chat_id, "🔎 **Searching...**")
|
loser = await c.send_message(chat_id, "🔎 **Searching...**")
|
||||||
query = m.text.split(None, 1)[1]
|
query = m.text.split(None, 1)[1]
|
||||||
search = ytsearch(query)
|
search = ytsearch(query)
|
||||||
Q = 720
|
Q = 720
|
||||||
@ -365,7 +365,7 @@ async def vstream(c: Client, m: Message):
|
|||||||
if len(m.command) == 2:
|
if len(m.command) == 2:
|
||||||
link = m.text.split(None, 1)[1]
|
link = m.text.split(None, 1)[1]
|
||||||
Q = 720
|
Q = 720
|
||||||
loser = await m.send_message(chat_id, "🔄 **processing stream...**")
|
loser = await c.send_message(chat_id, "🔄 **processing stream...**")
|
||||||
elif len(m.command) == 3:
|
elif len(m.command) == 3:
|
||||||
op = m.text.split(None, 1)[1]
|
op = m.text.split(None, 1)[1]
|
||||||
link = op.split(None, 1)[0]
|
link = op.split(None, 1)[0]
|
||||||
@ -377,7 +377,7 @@ async def vstream(c: Client, m: Message):
|
|||||||
await m.reply(
|
await m.reply(
|
||||||
"» __only 720, 480, 360 allowed__ \n💡 **now streaming video in 720p**"
|
"» __only 720, 480, 360 allowed__ \n💡 **now streaming video in 720p**"
|
||||||
)
|
)
|
||||||
loser = await m.send_message(chat_id, "🔄 **processing stream...**")
|
loser = await c.send_message(chat_id, "🔄 **processing stream...**")
|
||||||
else:
|
else:
|
||||||
await m.reply("**/vstream {link} {720/480/360}**")
|
await m.reply("**/vstream {link} {720/480/360}**")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user