From afae1dad87bf6baa4e088e55c8e06fd188b24e62 Mon Sep 17 00:00:00 2001 From: Hunter XDD <85411336+Hunter-XDD@users.noreply.github.com> Date: Sat, 30 Oct 2021 00:27:32 +0530 Subject: [PATCH] use await --- program/__main__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/__main__.py b/program/__main__.py index 3c4893b..5db889a 100644 --- a/program/__main__.py +++ b/program/__main__.py @@ -5,9 +5,9 @@ from pytgcalls import idle as engine from driver.veez import bot, call_py from program import __version__ -bot.start() +await bot.start() print(f"program v{__version__} started !") -call_py.start() +await call_py.start() print("program client started !") -engine() -idle() +await engine() +await idle()