aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/config.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2024-02-14 00:43:06 +0100
committerGravatar shtlrs <[email protected]>2024-02-14 10:12:52 +0100
commit4adb57499383e4835848bd5f2c792088ebcf6e74 (patch)
tree31c1cdf82ceda496cf33d4111590d8a336bb1972 /arthur/config.py
parentmove logger to its own package (diff)
setup the sentry integration upon bot startup
Diffstat (limited to 'arthur/config.py')
-rw-r--r--arthur/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/arthur/config.py b/arthur/config.py
index e9f80d9..c4f7e1a 100644
--- a/arthur/config.py
+++ b/arthur/config.py
@@ -1,5 +1,7 @@
"""Utilities for interacting with the config for King Arthur."""
+from os import environ
+
import pydantic
from pydantic_settings import BaseSettings
@@ -23,6 +25,10 @@ class Config(
devops_role: int = 409416496733880320
guild_id: int = 267624335836053506
+ sentry_dsn: str = ""
+
+
+GIT_SHA = environ.get("GIT_SHA", "development")
CONFIG = Config()