From 3de22ac316856936ffd0723b1f10516c33a365d2 Mon Sep 17 00:00:00 2001 From: thsrite Date: Sun, 17 Mar 2024 12:44:24 +0800 Subject: [PATCH 1/2] fix plugin name --- plugins/qbcommand/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/qbcommand/__init__.py b/plugins/qbcommand/__init__.py index ed66109..f1e7966 100644 --- a/plugins/qbcommand/__init__.py +++ b/plugins/qbcommand/__init__.py @@ -11,7 +11,7 @@ from app.core.event import eventmanager, Event import time -class QbCommond(_PluginBase): +class QbCommand(_PluginBase): # 插件名称 plugin_name = "QB远程操作" # 插件描述 From 51254e2b9705b8919214279c458b020da42fbeb6 Mon Sep 17 00:00:00 2001 From: thsrite Date: Sun, 17 Mar 2024 12:47:28 +0800 Subject: [PATCH 2/2] fix plugin name --- package.json | 2 +- plugins/trcommand/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 70b2c5c..d0aa368 100644 --- a/package.json +++ b/package.json @@ -407,7 +407,7 @@ "author": "DzAvril", "level": 1 }, - "TrCommond": { + "TrCommand": { "name": "TR远程操作", "description": "通过定时任务或交互命令远程操作TR暂停/开始/限速等。", "version": "1.1", diff --git a/plugins/trcommand/__init__.py b/plugins/trcommand/__init__.py index 5dc8abc..9258800 100644 --- a/plugins/trcommand/__init__.py +++ b/plugins/trcommand/__init__.py @@ -10,7 +10,7 @@ from app.core.event import eventmanager, Event import time -class TrCommond(_PluginBase): +class TrCommand(_PluginBase): # 插件名称 plugin_name = "TR远程操作" # 插件描述