From e100297e2c601df7d43622437afd85351bd7aca4 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 7 Feb 2022 23:27:50 +0700 Subject: [PATCH] change name --- program/video.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/program/video.py b/program/video.py index ae79778..b486b39 100644 --- a/program/video.py +++ b/program/video.py @@ -5,13 +5,13 @@ import re import asyncio # repository stuff -from config import BOT_USERNAME, IMG_1, IMG_2, IMG_5 +from config import BOT_USERNAME, IMG_5 from program.utils.inline import stream_markup from driver.design.thumbnail import thumb from driver.design.chatname import CHAT_TITLE from driver.filters import command, other_filters from driver.queues import QUEUE, add_to_queue -from driver.veez import call_py, user +from driver.core import calls, user from driver.database.dbpunish import is_gbanned_user # pyrogram stuff from pyrogram import Client @@ -186,7 +186,7 @@ async def vplay(c: Client, m: Message): elif Q == 360: amaze = LowQualityVideo() await loser.edit("🔄 **Joining vc...**") - await call_py.join_group_call( + await calls.join_group_call( chat_id, AudioVideoPiped( dl, @@ -247,7 +247,7 @@ async def vplay(c: Client, m: Message): else: try: await loser.edit("🔄 **Joining vc...**") - await call_py.join_group_call( + await calls.join_group_call( chat_id, AudioVideoPiped( ytlink, @@ -312,7 +312,7 @@ async def vplay(c: Client, m: Message): else: try: await loser.edit("🔄 **Joining vc...**") - await call_py.join_group_call( + await calls.join_group_call( chat_id, AudioVideoPiped( ytlink, @@ -455,7 +455,7 @@ async def vstream(c: Client, m: Message): amaze = LowQualityVideo() try: await loser.edit("🔄 **Joining vc...**") - await call_py.join_group_call( + await calls.join_group_call( chat_id, AudioVideoPiped( livelink,