From 4d4f9e0fd1f015ab58548232af47bbb14822d668 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 2 Nov 2021 15:44:29 +0700 Subject: [PATCH] fixes --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index afe5447..f835a01 100644 --- a/main.py +++ b/main.py @@ -1,11 +1,11 @@ import asyncio from program import BOT_ID, USERBOT_ID -from driver.veez import bot, call_py +from driver.veez import bot, user from pytgcalls import idle -def all_info(bot, call_py): +def all_info(bot, user): global BOT_ID, USERBOT_ID getme = bot.get_me() getme1 = call_py.get_me() @@ -19,7 +19,7 @@ async def mulai_bot(): print("[INFO]: STARTING PYTGCALLS CLIENT") await call_py.start() print("[INFO]: GENERATING CLIENT PROFILE") - all_info(bot, call_py) + all_info(bot, user) await idle() print("[INFO]: STOPPING BOT") await bot.stop()