From cbaa309976b8973124c7d66fbe3d50b970727905 Mon Sep 17 00:00:00 2001 From: Kyomotoi <0w0@imki.moe> Date: Fri, 6 Jan 2023 17:09:12 +0800 Subject: =?UTF-8?q?=F0=9F=8E=A8=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/help/data_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ATRI/plugins/help') diff --git a/ATRI/plugins/help/data_source.py b/ATRI/plugins/help/data_source.py index 3386a74..fb99313 100644 --- a/ATRI/plugins/help/data_source.py +++ b/ATRI/plugins/help/data_source.py @@ -84,7 +84,7 @@ class Helper: @staticmethod def service_info(service: str) -> str: try: - data = ServiceTools().load_service(service) + data = ServiceTools(service).load_service() except Exception: return "请检查是否输入错误呢...@bot 帮助 (服务)" @@ -106,7 +106,7 @@ class Helper: @staticmethod def cmd_info(service: str, cmd: str) -> str: try: - data = ServiceTools().load_service(service) + data = ServiceTools(service).load_service() except Exception: return "请检查是否输入错误..." -- cgit v1.2.3