diff options
| author | 2022-10-07 21:49:38 +0100 | |
|---|---|---|
| committer | 2022-10-07 21:49:38 +0100 | |
| commit | fc4721411cc74b06df83a9d3e472de7d608d6945 (patch) | |
| tree | fefa8c07b5a25b853b78f8ebc9d6026283d9568e /arthur/config.py | |
| parent | Merge pull request #25 from python-discord/poetry-1.2 (diff) | |
| parent | Return error if no devops rule match searched indicies (diff) | |
Merge pull request #27 from python-discord/devops-rukes
Diffstat (limited to 'arthur/config.py')
| -rw-r--r-- | arthur/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arthur/config.py b/arthur/config.py index 1fcf11d..d754696 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -1,4 +1,6 @@ """Utilities for interacting with the config for King Arthur.""" +from typing import Optional + from pydantic import BaseSettings @@ -20,6 +22,9 @@ class Config(BaseSettings): # Guild id guild_id: int = 267624335836053506 + # Token for authorising with the Notion API + notion_api_token: Optional[str] = None + class Config: # noqa: D106 env_file = ".env" env_prefix = "KING_ARTHUR_" |