fix actions

This commit is contained in:
jxxghp
2025-02-28 11:15:24 +08:00
parent f8ed16666c
commit cf62ad5e8e
14 changed files with 174 additions and 131 deletions
+6 -3
View File
@@ -24,16 +24,19 @@ class SendMessageAction(BaseAction):
super().__init__()
self.chain = ActionChain()
@classmethod
@property
def name(self) -> str:
def name(cls) -> str:
return "发送消息"
@classmethod
@property
def description(self) -> str:
def description(cls) -> str:
return "发送队列中的所有消息"
@classmethod
@property
def data(self) -> dict:
def data(cls) -> dict:
return SendMessageParams().dict()
@property