aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-07-10 14:14:37 +0100
committerGravatar Joe Banks <[email protected]>2025-07-10 14:14:37 +0100
commit955c19ae3ac9504a246b9647271fa84102c7a477 (patch)
tree2f127c0f835e1068044312e79d05bee3c3671f56
parentUpdate envvar documentation to reflect removed GitHub-Grafana team sync (diff)
Add new constants
-rw-r--r--README.md1
-rw-r--r--arthur/config.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 85926c3..12de4ef 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ These environment variables are required to work on the relevant cog.
| KING_ARTHUR_CLOUDFLARE_TOKEN | Zones | A token for the Cloudflare API used for the Cloudflare commands in Arthur | Required |
| KING_ARTHUR_GITHUB_ORG | GitHubManagement | The github organisation to fetch teams from | python-discord |
| KING_ARTHUR_GITHUB_TOKEN | GitHubManagement | The github token used to manage the GitHub organisation | Required |
+| KING_ARTHUR_GITHUB_TEAM | GitHubManagement | The slug of the GitHub team to add new members to | staff |
| KING_ARTHUR_GRAFANA_URL | GrafanaLDAPTeamSync | The URL to the grafana instance to manage teams | https://grafana.pydis.wtf |
| KING_ARTHUR_GRAFANA_TOKEN | GrafanaLDAPTeamSync | The grafana token used to sync teams with LDAP | Required |
| KING_ARTHUR_YOUTUBE_API_KEY | Motivation | The YouTube API key to fetch missions with | Required |
diff --git a/arthur/config.py b/arthur/config.py
index 7603cf9..2733ecf 100644
--- a/arthur/config.py
+++ b/arthur/config.py
@@ -23,9 +23,11 @@ class Config(
grafana_token: pydantic.SecretStr | None = None
github_token: pydantic.SecretStr | None = None
github_org: str = "python-discord"
+ github_team: str = "staff"
devops_role: int = 409416496733880320
helpers_role: int = 267630620367257601
+ admins_role: int = 267628507062992896
guild_id: int = 267624335836053506
devops_channel_id: int = 675756741417369640
devops_vc_id: int = 881573757536329758