diff --git a/configs/run_config.json b/configs/app_config.json similarity index 100% rename from configs/run_config.json rename to configs/app_config.json diff --git a/configs/extension_config.json b/configs/ext_config.json similarity index 100% rename from configs/extension_config.json rename to configs/ext_config.json diff --git a/main.py b/main.py index 14ca642..d23bb2b 100644 --- a/main.py +++ b/main.py @@ -137,7 +137,7 @@ class TelegramBotWrapper: def __init__( self, - config_file_path="configs/run_config.json", + config_file_path="configs/app_config.json", ): """Init telegram bot class. Use run_telegram_bot() to initiate bot. diff --git a/run.py b/run.py index c56bfb2..099db11 100644 --- a/run.py +++ b/run.py @@ -4,7 +4,7 @@ from main import TelegramBotWrapper from dotenv import load_dotenv -config_file_path = "configs/run_config.json" +config_file_path = "configs/app_config.json" def run_server(token): diff --git a/script.py b/script.py index e5f25fd..aa5edf4 100644 --- a/script.py +++ b/script.py @@ -5,7 +5,7 @@ # This module added to get compatibility with text-generation-webui-telegram_bot -config_file_path = "extensions/telegram_bot/configs/extension_config.json" +config_file_path = "extensions/telegram_bot/configs/ext_config.json" def run_server(token=""):