刷马推送

This commit is contained in:
2026-01-20 14:46:08 +08:00
parent 480208eb61
commit 13efe7fc4c
7 changed files with 137 additions and 7 deletions
+14
View File
@@ -555,6 +555,20 @@ class Jx3ApiPlugin(Star):
yield event.plain_result(return_msg)
@jx3.command("刷马推送")
async def jx3_shuamamsg(self, event: AstrMessageEvent):
"""剑三 刷马推送"""
return_msg = await self.at.get_task_info("smxx")
yield event.plain_result(return_msg)
@jx3.command("赤兔推送")
async def jx3_chitusg(self, event: AstrMessageEvent):
"""剑三 赤兔推送"""
return_msg = await self.at.get_task_info("ctxx")
yield event.plain_result(return_msg)
async def terminate(self):
"""可选择实现异步的插件销毁方法,当插件被卸载/停用时会调用。"""
if self.at: