From 4adb57499383e4835848bd5f2c792088ebcf6e74 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Wed, 14 Feb 2024 00:43:06 +0100 Subject: setup the sentry integration upon bot startup --- arthur/config.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arthur/config.py') 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() -- cgit v1.2.3