From 7d6f2e71375a953c9fe2cdd88671203f076c2f5f Mon Sep 17 00:00:00 2001 From: YY Date: Wed, 19 Feb 2025 15:07:37 +0800 Subject: [PATCH] Update __init__.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit event_data.get("action") 和 插件命令的 action 首字母大小写不一致导致无法进入命令执行 --- plugins.v2/cloudstrmcompanion/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.v2/cloudstrmcompanion/__init__.py b/plugins.v2/cloudstrmcompanion/__init__.py index fff8701..36c2af9 100644 --- a/plugins.v2/cloudstrmcompanion/__init__.py +++ b/plugins.v2/cloudstrmcompanion/__init__.py @@ -302,7 +302,7 @@ class CloudStrmCompanion(_PluginBase): if event: event_data = event.event_data - if not event_data or event_data.get("action") != "cloudStrmCompanion": + if not event_data or event_data.get("action") != "CloudStrmCompanion": return logger.info("收到命令,开始云盘Strm助手同步生成 ...") self.post_message(channel=event.event_data.get("channel"),