video-stream/main.py
2022-01-31 17:11:01 +07:00

17 lines
404 B
Python

import asyncio
from pytgcalls import idle
from driver.veez import call_py, bot
async def start_bot():
await bot.start()
print("[INFO]: BOT & UBOT CLIENT STARTED !!")
await call_py.start()
print("[INFO]: PY-TGCALLS CLIENT STARTED !!")
await idle()
print("[INFO]: STOPPING BOT & USERBOT")
await bot.stop()
loop = asyncio.get_event_loop()
loop.run_until_complete(start_bot())