diff options
| author | 2024-02-12 20:57:26 +0000 | |
|---|---|---|
| committer | 2024-02-12 21:18:31 +0000 | |
| commit | 02b249f234a6566d89b7ab2ab1af4f43004f3473 (patch) | |
| tree | f665dac24d9eb7629bfad67f91438f4b1491cb42 /arthur/config.py | |
| parent | build(deps-dev): bump pre-commit from 3.6.0 to 3.6.1 (#147) (diff) | |
Add grafana and github secrets to config class
Diffstat (limited to 'arthur/config.py')
| -rw-r--r-- | arthur/config.py | 13 | 
1 files changed, 5 insertions, 8 deletions
| diff --git a/arthur/config.py b/arthur/config.py index 9743667..e9f80d9 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -12,19 +12,16 @@ class Config(  ):      """Configuration for King Arthur.""" -    # Discord bot token      token: pydantic.SecretStr - -    # Discord bot prefix      prefixes: tuple[str, ...] = ("arthur ", "M-x ") -    # Authorised role ID for usage -    devops_role: int = 409416496733880320 - -    # Token for authorising with the Cloudflare API      cloudflare_token: pydantic.SecretStr +    grafana_url: str = "https://grafana.pythondiscord.com" +    grafana_token: pydantic.SecretStr +    github_token: pydantic.SecretStr +    github_org: str = "python-discord" -    # Guild id +    devops_role: int = 409416496733880320      guild_id: int = 267624335836053506 | 
