From b377abd12875aeb1af82600695792f26c1f08c7c Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 19 Aug 2024 12:04:26 +0100 Subject: Allow loading the bot without a cloudflare_token set --- arthur/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/config.py') diff --git a/arthur/config.py b/arthur/config.py index 80e4825..db92ad7 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -17,7 +17,7 @@ class Config( token: pydantic.SecretStr prefixes: tuple[str, ...] = ("arthur ", "M-x ") - cloudflare_token: pydantic.SecretStr + cloudflare_token: pydantic.SecretStr | None = None youtube_api_key: pydantic.SecretStr | None = None grafana_url: str = "https://grafana.pydis.wtf" grafana_token: pydantic.SecretStr -- cgit v1.2.3