From 8da4433e5774f65ba48a4c186f96348ba1a8c2a4 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 21 May 2024 08:44:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=94=B9=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/dashboard/helper.py | 4 ++-- addons/dashboard/server.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/dashboard/helper.py b/addons/dashboard/helper.py index 771612d62..a8a4614e2 100644 --- a/addons/dashboard/helper.py +++ b/addons/dashboard/helper.py @@ -119,14 +119,14 @@ class DashBoardHelper(): ) qq_gocq_platform_group = DashBoardConfig( config_type="group", - name="OneBot协议平台配置", + name="go-cqhttp", description="", body=[ DashBoardConfig( config_type="item", val_type="bool", name="启用", - description="支持cq-http、shamrock等(目前仅支持QQ平台)", + description="", value=config['gocqbot']['enable'], path="gocqbot.enable", ), diff --git a/addons/dashboard/server.py b/addons/dashboard/server.py index 7ec4ffe21..4eb5ef0fb 100644 --- a/addons/dashboard/server.py +++ b/addons/dashboard/server.py @@ -390,13 +390,13 @@ class AstrBotDashBoard(): }, { "title": "QQ_OFFICIAL", - "desc": "QQ官方API,仅支持频道", + "desc": "QQ官方API。支持频道、群(需获得群权限)", "namespace": "internal_platform_qq_official", "tag": "" }, { - "title": "OneBot协议", - "desc": "支持cq-http、shamrock等(目前仅支持QQ平台)", + "title": "go-cqhttp", + "desc": "第三方 QQ 协议实现。支持频道、群", "namespace": "internal_platform_qq_gocq", "tag": "" }