From 39b86bf22c46caeaee85d49bb7e8ed2e0e5fc5b5 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:48:07 +0700 Subject: [PATCH] setup --- system/software.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/system/software.py b/system/software.py index a61ed9f..4ab33db 100644 --- a/system/software.py +++ b/system/software.py @@ -8,6 +8,19 @@ VGA = Client( Config.SESSION, Config.API_ID, Config.API_HASH, - plugins=dict(root="program") + 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") +)