summaryrefslogtreecommitdiff
path: root/ATRI/configs
diff options
context:
space:
mode:
authorRuoqi Yang <[email protected]>2022-11-10 12:29:10 +0800
committerRuoqi Yang <[email protected]>2022-11-12 19:20:21 +0800
commitb251cd28e24c08e9170a11535fc121441b324d4f (patch)
tree7f28ee5638dbaf7ceda0be38dc684b75f14d4e96 /ATRI/configs
parent8aba97ec5c4d9dd001e01427defd9bbd6bdb47cf (diff)
downloadATRI-b251cd28e24c08e9170a11535fc121441b324d4f.tar.gz
ATRI-b251cd28e24c08e9170a11535fc121441b324d4f.tar.bz2
ATRI-b251cd28e24c08e9170a11535fc121441b324d4f.zip
add plugin: geoip loopup
Diffstat (limited to 'ATRI/configs')
-rw-r--r--ATRI/configs/models.py6
1 files changed, 6 insertions, 0 deletions
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):