From 8270c9d7fd03f28bf7bf9c41fd5227c1cab12e87 Mon Sep 17 00:00:00 2001 From: TPV Date: Sun, 12 Jul 2026 12:09:36 -0700 Subject: [PATCH] forgot to remove reference to prod bot token in get_bot_token and moved said function into discord bot repo --- src/monitor_utils/config.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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",