diff options
author | 2023-11-25 22:22:00 +0000 | |
---|---|---|
committer | 2023-11-25 22:22:00 +0000 | |
commit | 69c08d196f8bf8fe64fc954f2f4b9f19e10e078c (patch) | |
tree | 4570950b3907ee1a852fdcfa180b4c0e42718d46 /bot/constants.py | |
parent | Update to pydantic 2.0 (diff) |
Remove the need for calling dotenv manually by using pydantic
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index 894ea857..0d74fb4a 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -33,6 +33,7 @@ log = get_logger(__name__) PYTHON_PREFIX = "!" +GIT_SHA = environ.get("GIT_SHA", "development") class EnvConfig( @@ -90,6 +91,7 @@ class _Client(EnvConfig, env_prefix="client_"): github_repo: str = "https://github.com/python-discord/sir-lancebot" # Override seasonal locks: 1 (January) to 12 (December) month_override: int | None = None + sentry_dsn: str = "" Client = _Client() |