This commit is contained in:
jxxghp
2024-07-06 08:30:09 +08:00
parent 059e4f08a3
commit 1a0c4acf1c
4 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ class _MessageBase:
return None
return self._configs.get(name)
def checkMessage(self, message: Notification, source: str) -> bool:
def checkMessage(self, message: Notification, source: str = None) -> bool:
"""
检查消息渠道及消息类型,如不符合则不处理
"""