video-stream/main.py
2021-11-02 21:32:50 +07:00

16 lines
381 B
Python

import asyncio
from pytgcalls import idle
from driver.veez import call_py, bot
async def mulai_bot():
print("[INFO]: STARTING BOT CLIENT")
await bot.start()
print("[INFO]: STARTING PYTGCALLS CLIENT")
await call_py.start()
await idle()
print("[INFO]: STOPPING BOT")
await bot.stop()
loop = asyncio.get_event_loop()
loop.run_until_complete(mulai_bot())