功能增加

This commit is contained in:
qsc
2026-01-16 23:04:30 +08:00
parent 89316ded40
commit 82c4c70dee
3 changed files with 68 additions and 8 deletions
+17 -2
View File
@@ -490,8 +490,8 @@ class Jx3ApiPlugin(Star):
@jx3.command("骗子")
async def jx3_pianzhi(self, event: AstrMessageEvent,qq: str = ""):
"""剑三 骗子 服务器 天数"""
async def jx3_pianzhi(self, event: AstrMessageEvent,qq: str):
"""剑三 骗子 QQ"""
try:
data= await self.jx3fun.pianzhi(qq)
if data["code"] == 200:
@@ -504,6 +504,21 @@ class Jx3ApiPlugin(Star):
yield event.plain_result("猪脑过载,请稍后再试")
@jx3.command("八卦")
async def jx3_bagua(self, event: AstrMessageEvent,type: str):
"""剑三 八卦 类型"""
try:
data= await self.jx3fun.bagua(type)
if data["code"] == 200:
yield event.plain_result(data["data"])
else:
yield event.plain_result(data["msg"])
return
except Exception as e:
logger.error(f"功能函数执行错误: {e}")
yield event.plain_result("猪脑过载,请稍后再试")
@jx3.command("开服监控")
async def jx3_kaifhujiank(self, event: AstrMessageEvent):
"""剑三 开服监控"""