added uv.lock
This commit is contained in:
1 parent
79d3fb72f9
commit
8a9e72e8e0
3 files changed
+12
-8
No files matched your search
@@ -14,16 +14,13 @@ from monitor_utils.constants import (
|
||||
|
||||
def is_production(override_production=False) -> bool:
|
||||
if override_production:
|
||||
return override_production
|
||||
return False
|
||||
|
||||
return DEVELOPMENT_MODE == DevelopmentMode.PRODUCTION
|
||||
|
||||
|
||||
IS_PRODUCTION = is_production()
|
||||
|
||||
|
||||
def get_bot_token() -> str:
|
||||
if IS_PRODUCTION:
|
||||
def get_bot_token(is_production: bool) -> str:
|
||||
if is_production:
|
||||
return PRODUCTION_BOT_TOKEN
|
||||
|
||||
return DEVELOPMENT_BOT_TOKEN
|
||||
|
||||
Reference in new issue
Block a user