From b38a713a2b7410d91be5c95afcdfe0dc620599a5 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 1 Mar 2022 21:22:25 +0700 Subject: [PATCH] [check] revert the function --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 243dbfa..2fa3f33 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,4 @@ import asyncio - from program import LOGS from pytgcalls import idle from driver.core import calls, bot, user @@ -17,4 +16,5 @@ async def start_bot(): await bot.stop() -asyncio.run(start_bot()) +loop = asyncio.get_event_loop() +loop.run_until_complete(start_bot())