From 12ce701f2d4729b74ca5d217d7284fddb2a30bf1 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 2 Nov 2021 16:12:51 +0700 Subject: [PATCH] fixes --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 504db67..6ee8a3b 100644 --- a/main.py +++ b/main.py @@ -8,7 +8,7 @@ from pytgcalls import idle def all_info(bot, user): global BOT_ID, USERBOT_ID getme = bot.get_me() - getme1 = call_py.get_me() + getme1 = user.get_me() BOT_ID = getme.id USERBOT_ID = getme1.id @@ -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, user) + await all_info(bot, user) await idle() print("[INFO]: STOPPING BOT") await bot.stop()