This commit is contained in:
2025-12-27 11:53:26 +08:00
parent e2e9d29c31
commit 5d19cb05af
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ class JX3Service:
return return_data
async def richangyuche(self,server: str) -> Dict[str, Any]:
async def richangyuche(self) -> Dict[str, Any]:
"""日常预测"""
return_data = self._init_return_data()
+4 -4
View File
@@ -149,11 +149,11 @@ class Jx3ApiPlugin(Star):
logger.error(f"功能函数执行错误: {e}")
yield event.plain_result("猪脑过载,请稍后再试")
@jx3.command("月历")
async def jx3_richangyuche(self, event: AstrMessageEvent,server: str = "" ,num: int = 0):
"""剑三 月历 服务器 """
@jx3.command("日常预测")
async def jx3_richangyuche(self, event: AstrMessageEvent):
"""剑三 日常预测 服务器 """
try:
data= await self.jx3fun.richangyuche(await self.serverdefault(server))
data= await self.jx3fun.richangyuche()
if data["code"] == 200:
yield event.plain_result(data["data"])
else: