diff --git a/src/monitor_utils/config.py b/src/monitor_utils/config.py index 454e0c0..321c43d 100644 --- a/src/monitor_utils/config.py +++ b/src/monitor_utils/config.py @@ -5,7 +5,7 @@ import logging import pathlib from enum import Enum -from monitor_utils.constants import DEVELOPMENT_BOT_TOKEN, LOGGERS, PRODUCTION_BOT_TOKEN +from monitor_utils.constants import LOGGERS class DevelopmentMode(str, Enum): @@ -21,15 +21,6 @@ def is_production(development_mode: DevelopmentMode) -> bool: return development_mode == DevelopmentMode.PRODUCTION -def get_bot_token(is_production: bool) -> str: - """Return the production or development bot token for the mode.""" - - if is_production: - return PRODUCTION_BOT_TOKEN - - return DEVELOPMENT_BOT_TOKEN - - def get_config( monitor_name: str, config_dir: str | pathlib.Path = "configs",