From b5d83fc188935f09078b1c0b0c963717a0e5a294 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sun, 21 Nov 2021 13:19:57 +0700 Subject: [PATCH] fixes --- program/video.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/video.py b/program/video.py index 85c8f4f..187601b 100644 --- a/program/video.py +++ b/program/video.py @@ -187,7 +187,7 @@ async def vplay(c: Client, m: Message): "ยป reply to an **video file** or **give something to search.**" ) else: - loser = await m.send_message(chat_id, "๐Ÿ”Ž **Searching...**") + loser = await c.send_message(chat_id, "๐Ÿ”Ž **Searching...**") query = m.text.split(None, 1)[1] search = ytsearch(query) Q = 720 @@ -242,7 +242,7 @@ async def vplay(c: Client, m: Message): "ยป reply to an **video file** or **give something to search.**" ) else: - loser = await m.send_message(chat_id, "๐Ÿ”Ž **Searching...**") + loser = await c.send_message(chat_id, "๐Ÿ”Ž **Searching...**") query = m.text.split(None, 1)[1] search = ytsearch(query) Q = 720 @@ -365,7 +365,7 @@ async def vstream(c: Client, m: Message): if len(m.command) == 2: link = m.text.split(None, 1)[1] 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: op = m.text.split(None, 1)[1] link = op.split(None, 1)[0] @@ -377,7 +377,7 @@ async def vstream(c: Client, m: Message): await m.reply( "ยป __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: await m.reply("**/vstream {link} {720/480/360}**")