feat:支持VoceChat

This commit is contained in:
jxxghp
2024-03-06 15:54:40 +08:00
parent 8cb061ff75
commit d112f49a69
7 changed files with 346 additions and 3 deletions

View File

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