aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-25 22:22:00 +0000
committerGravatar Chris Lovering <[email protected]>2023-11-25 22:22:00 +0000
commit69c08d196f8bf8fe64fc954f2f4b9f19e10e078c (patch)
tree4570950b3907ee1a852fdcfa180b4c0e42718d46 /bot/constants.py
parentUpdate 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.py2
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()