use await

This commit is contained in:
Hunter XDD 2021-10-30 00:27:32 +05:30 committed by GitHub
parent fe762a606c
commit afae1dad87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()