From 2da06481f7d2b20437de000dc28f1df141a520ab Mon Sep 17 00:00:00 2001 From: algizn97 Date: Sat, 23 Aug 2025 14:32:11 +0500 Subject: [PATCH] Update --- config.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 230e0c2..a55e59e 100644 --- a/config.py +++ b/config.py @@ -1,6 +1,9 @@ -from dotenv import load_dotenv +from dotenv import load_dotenv, find_dotenv import os -load_dotenv('.env') +env_file = find_dotenv() +load_dotenv(env_file) -TOKEN_TG_BOT = os.getenv('TOKEN_TELEGRAM_BOT') \ No newline at end of file +TOKEN_TG_BOT_1 = os.getenv('TOKEN_TELEGRAM_BOT_1') +TOKEN_TG_BOT_2 = os.getenv('TOKEN_TELEGRAM_BOT_2') +TOKEN_TG_BOT_3 = os.getenv('TOKEN_TELEGRAM_BOT_3') \ No newline at end of file