diff options
Diffstat (limited to 'ATRI/configs')
-rw-r--r-- | ATRI/configs/default_config.yml | 4 | ||||
-rw-r--r-- | ATRI/configs/models.py | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ATRI/configs/default_config.yml b/ATRI/configs/default_config.yml index 34ab716..ab8a3bd 100644 --- a/ATRI/configs/default_config.yml +++ b/ATRI/configs/default_config.yml @@ -33,3 +33,7 @@ SauceNAO: Setu: reverse_proxy: true reverse_proxy_domain: "i.pixiv.re" + +GeoIP: + account_id: + license_key: diff --git a/ATRI/configs/models.py b/ATRI/configs/models.py index a23d7f2..8e8869d 100644 --- a/ATRI/configs/models.py +++ b/ATRI/configs/models.py @@ -40,12 +40,18 @@ class Setu(BaseModel): reverse_proxy_domain: str +class GeoIP(BaseModel): + account_id: str + license_key: str + + class ConfigModel(BaseModel): ConfigVersion: str BotConfig: BotConfig WithGoCQHTTP: WithGoCQHTTP SauceNAO: SauceNAO Setu: Setu + GeoIP: GeoIP class RuntimeConfig(BaseModel): |