This commit is contained in:
levina 2021-10-11 11:48:07 +07:00 committed by GitHub
parent 04aab57e94
commit 39b86bf22c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,19 @@ VGA = Client(
Config.SESSION,
Config.API_ID,
Config.API_HASH,
plugins=dict(root="system")
)
call_py = PyTgCalls(VGA, cache_duration=180)
############
# inti #
############
bot = Client(
":memory:",
Config.API_ID,
Config.API_HASH,
bot_token=Config.BOT_TOKEN,
plugins=dict(root="program")
)
call_py = PyTgCalls(VGA, cache_duration=180)