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
@@ -17,16 +17,19 @@ class SendEventAction(BaseAction):
发送事件
"""
@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 SendEventParams().dict()
@property