feat SynologyChat

This commit is contained in:
jxxghp
2023-09-22 15:40:23 +08:00
parent ea160afd90
commit 7f6beb2a78
8 changed files with 309 additions and 4 deletions

View File

@ -58,6 +58,8 @@ def checkMessage(channel_type: MessageChannel):
return None
if channel_type == MessageChannel.Slack and not switch.get("slack"):
return None
if channel_type == MessageChannel.SynologyChat and not switch.get("synologychat"):
return None
return func(self, message, *args, **kwargs)
return wrapper