mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-14 07:26:51 +00:00
fix iyuumsg、barkmsg、pushdeermsg
This commit is contained in:
@@ -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")
|
||||
# 标题
|
||||
|
||||
Reference in New Issue
Block a user