hmm
This commit is contained in:
parent
ae64791515
commit
11df0ab0fc
8
main.py
8
main.py
@ -1,14 +1,14 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
from program import BOT_ID, USERBOT_ID
|
from program import BOT_ID, USERBOT_ID
|
||||||
from driver.veez import call_py, bot, uber
|
from driver.veez import call_py, bot, user
|
||||||
from pytgcalls import idle
|
from pytgcalls import idle
|
||||||
|
|
||||||
|
|
||||||
async def all_info(bot, uber):
|
async def all_info(bot, user):
|
||||||
global BOT_ID, USERBOT_ID
|
global BOT_ID, USERBOT_ID
|
||||||
getme = await bot.get_me()
|
getme = await bot.get_me()
|
||||||
getme1 = await uber.get_me()
|
getme1 = await user.get_me()
|
||||||
BOT_ID = getme.id
|
BOT_ID = getme.id
|
||||||
USERBOT_ID = getme1.id
|
USERBOT_ID = getme1.id
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ async def mulai_bot():
|
|||||||
print("[INFO]: STARTING PYTGCALLS CLIENT")
|
print("[INFO]: STARTING PYTGCALLS CLIENT")
|
||||||
await call_py.start()
|
await call_py.start()
|
||||||
print("[INFO]: GENERATING CLIENT PROFILE")
|
print("[INFO]: GENERATING CLIENT PROFILE")
|
||||||
await all_info(bot, uber)
|
await all_info(bot, user)
|
||||||
await idle()
|
await idle()
|
||||||
print("[INFO]: STOPPING BOT")
|
print("[INFO]: STOPPING BOT")
|
||||||
await bot.stop()
|
await bot.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user