summaryrefslogtreecommitdiff
path: root/ATRI/plugins/help
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2023-02-01 21:26:02 +0800
committerKyomotoi <[email protected]>2023-02-01 21:26:02 +0800
commit10562f91ab992790f2e34bd939ae3cd029c4c40b (patch)
treec85686b71f5510889d064b63902eaab7a01686b8 /ATRI/plugins/help
parenta15644d335eed3cf6323b0afca77fb4363642337 (diff)
downloadATRI-10562f91ab992790f2e34bd939ae3cd029c4c40b.tar.gz
ATRI-10562f91ab992790f2e34bd939ae3cd029c4c40b.tar.bz2
ATRI-10562f91ab992790f2e34bd939ae3cd029c4c40b.zip
🚸 优化用户体验
Diffstat (limited to 'ATRI/plugins/help')
-rw-r--r--ATRI/plugins/help/data_source.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ATRI/plugins/help/data_source.py b/ATRI/plugins/help/data_source.py
index fb99313..3263f34 100644
--- a/ATRI/plugins/help/data_source.py
+++ b/ATRI/plugins/help/data_source.py
@@ -49,7 +49,6 @@ class Helper:
.text(f"咱的型号是:{__version__}")
.text("想进一步了解:")
.text("atri.imki.moe")
- .text("进不去: project-atri-docs.vercel.app")
.done()
)
@@ -64,14 +63,14 @@ class Helper:
service = json.load(r)
services.append(
[
- prefix,
"√" if service["enabled"] else "×",
"√" if service["only_admin"] else "×",
+ prefix,
]
)
table = tabulate(
services,
- headers=["服务名称", "开启状态(全局)", "仅支持管理员"],
+ headers=["开启状态(全局)", "仅管理员", "服务名称"],
tablefmt="plain",
)
return (