This commit is contained in:
levina 2021-11-21 13:04:42 +07:00 committed by GitHub
parent 0631685a73
commit a8651d7510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,8 @@
# Commit Start Date 20/10/2021 # Commit Start Date 20/10/2021
# Finished On 28/10/2021 # Finished On 28/10/2021
import asyncio
import re import re
import asyncio
from config import ASSISTANT_NAME, BOT_USERNAME, IMG_1, IMG_2 from config import ASSISTANT_NAME, BOT_USERNAME, IMG_1, IMG_2
from driver.filters import command, other_filters from driver.filters import command, other_filters
@ -163,6 +163,7 @@ async def vplay(c: Client, m: Message):
amaze = MediumQualityVideo() amaze = MediumQualityVideo()
elif Q == 360: elif Q == 360:
amaze = LowQualityVideo() amaze = LowQualityVideo()
await loser.edit("🔄 **Joining Vc...**")
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped( AudioVideoPiped(
@ -213,6 +214,7 @@ async def vplay(c: Client, m: Message):
) )
else: else:
try: try:
await loser.edit("🔄 **Joining Vc...**")
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped( AudioVideoPiped(
@ -267,6 +269,7 @@ async def vplay(c: Client, m: Message):
) )
else: else:
try: try:
await loser.edit("🔄 **Joining Vc...**")
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped( AudioVideoPiped(
@ -406,6 +409,7 @@ async def vstream(c: Client, m: Message):
elif Q == 360: elif Q == 360:
amaze = LowQualityVideo() amaze = LowQualityVideo()
try: try:
await loser.edit("🔄 **Joining Vc...**")
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped( AudioVideoPiped(