This commit is contained in:
jxxghp
2024-07-04 07:13:49 +08:00
parent dde2d22d93
commit 5f01dd5625
14 changed files with 51 additions and 19 deletions

View File

@@ -20,7 +20,7 @@ class SlackModule(_ModuleBase):
"""
初始化模块
"""
clients = NotificationHelper().get_notifications()
clients = NotificationHelper().get_clients()
if not clients:
return
self._configs = {}

View File

@@ -17,7 +17,7 @@ class SynologyChatModule(_ModuleBase):
"""
初始化模块
"""
clients = NotificationHelper().get_notifications()
clients = NotificationHelper().get_clients()
if not clients:
return
self._configs = {}

View File

@@ -19,7 +19,7 @@ class TelegramModule(_ModuleBase):
"""
初始化模块
"""
clients = NotificationHelper().get_notifications()
clients = NotificationHelper().get_clients()
if not clients:
return
self._configs = {}

View File

@@ -18,7 +18,7 @@ class VoceChatModule(_ModuleBase):
初始化模块
"""
self._clients = {}
clients = NotificationHelper().get_notifications()
clients = NotificationHelper().get_clients()
if not clients:
return
for client in clients:

View File

@@ -21,7 +21,7 @@ class WechatModule(_ModuleBase):
"""
初始化模块
"""
clients = NotificationHelper().get_notifications()
clients = NotificationHelper().get_clients()
if not clients:
return
self._configs = {}