fix iyuumsg、barkmsg、pushdeermsg

This commit is contained in:
jxxghp
2023-11-09 08:20:56 +08:00
parent 706d226de4
commit 5cedfa4bac
4 changed files with 18 additions and 6 deletions

View File

@@ -299,7 +299,7 @@
"BarkMsg": {
"name": "Bark消息推送",
"description": "支持使用Bark发送消息通知。",
"version": "1.0",
"version": "1.1",
"icon": "bark.webp",
"color": "#FF3B30",
"author": "jxxghp",
@@ -308,7 +308,7 @@
"IyuuMsg": {
"name": "IYUU消息推送",
"description": "支持使用IYUU发送消息通知。",
"version": "1.0",
"version": "1.1",
"icon": "iyuu.png",
"color": "#C9221B",
"author": "jxxghp",
@@ -317,7 +317,7 @@
"PushDeerMsg": {
"name": "PushDeer消息推送",
"description": "支持使用PushDeer发送消息通知。",
"version": "1.0",
"version": "1.1",
"icon": "pushdeer.png",
"color": "#FFFFFF",
"author": "jxxghp",

View File

@@ -18,7 +18,7 @@ class BarkMsg(_PluginBase):
# 主题色
plugin_color = "#FF3B30"
# 插件版本
plugin_version = "1.0"
plugin_version = "1.1"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -195,6 +195,10 @@ class BarkMsg(_PluginBase):
return
msg_body = event.event_data
# 渠道
channel = msg_body.get("channel")
if channel:
return
# 类型
msg_type: NotificationType = msg_body.get("type")
# 标题

View File

@@ -18,7 +18,7 @@ class IyuuMsg(_PluginBase):
# 主题色
plugin_color = "#C9221B"
# 插件版本
plugin_version = "1.0"
plugin_version = "1.1"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -154,6 +154,10 @@ class IyuuMsg(_PluginBase):
return
msg_body = event.event_data
# 渠道
channel = msg_body.get("channel")
if channel:
return
# 类型
msg_type: NotificationType = msg_body.get("type")
# 标题

View File

@@ -18,7 +18,7 @@ class PushDeerMsg(_PluginBase):
# 主题色
plugin_color = "#FFFFFF"
# 插件版本
plugin_version = "1.0"
plugin_version = "1.1"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -175,6 +175,10 @@ class PushDeerMsg(_PluginBase):
return
msg_body = event.event_data
# 渠道
channel = msg_body.get("channel")
if channel:
return
# 类型
msg_type: NotificationType = msg_body.get("type")
# 标题