summaryrefslogtreecommitdiff
path: root/ATRI/plugins/manage/models.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2023-01-28 22:38:48 +0800
committerKyomotoi <[email protected]>2023-01-28 22:38:48 +0800
commitbb52f7b70dd3b5def1a938fbbc3c0ee08ea3a77c (patch)
tree0bf4e76243dbc918672a682da059e445557fb047 /ATRI/plugins/manage/models.py
parent5ed9a6e902fdcec43f20d94d96bef201960f3e36 (diff)
downloadATRI-bb52f7b70dd3b5def1a938fbbc3c0ee08ea3a77c.tar.gz
ATRI-bb52f7b70dd3b5def1a938fbbc3c0ee08ea3a77c.tar.bz2
ATRI-bb52f7b70dd3b5def1a938fbbc3c0ee08ea3a77c.zip
✨ 新增 Nonebot 商店插件安装
Diffstat (limited to 'ATRI/plugins/manage/models.py')
-rw-r--r--ATRI/plugins/manage/models.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/ATRI/plugins/manage/models.py b/ATRI/plugins/manage/models.py
new file mode 100644
index 0000000..90f8059
--- /dev/null
+++ b/ATRI/plugins/manage/models.py
@@ -0,0 +1,12 @@
+from pydantic import BaseModel
+
+
+class NonebotPluginInfo(BaseModel):
+ module_name: str
+ project_link: str
+ name: str
+ desc: str
+ author: str
+ homepage: str
+ tags: list
+ is_official: bool