fix:移除Action类静态属性

This commit is contained in:
jxxghp
2025-06-09 08:18:43 +08:00
parent ea168edb43
commit 0427506572
13 changed files with 67 additions and 109 deletions
+1 -2
View File
@@ -22,7 +22,6 @@ class SendMessageAction(BaseAction):
def __init__(self, action_id: str):
super().__init__(action_id)
self.chain = ActionChain()
@classmethod
@property
@@ -60,7 +59,7 @@ class SendMessageAction(BaseAction):
if not params.client:
params.client = [""]
for client in params.client:
self.chain.post_message(
ActionChain().post_message(
Notification(
source=client,
userid=params.userid,