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}**")