ok
This commit is contained in:
+1
-1
@@ -1250,7 +1250,7 @@ class JX3Service:
|
|||||||
result_msg = f"未找到相关 {type} 记录。\n"
|
result_msg = f"未找到相关 {type} 记录。\n"
|
||||||
result_msg += f"可选范围:818 616 鬼网三 鬼网3 树洞 记录 教程 街拍 故事 避雷 吐槽 提问"
|
result_msg += f"可选范围:818 616 鬼网三 鬼网3 树洞 记录 教程 街拍 故事 避雷 吐槽 提问"
|
||||||
else:
|
else:
|
||||||
result_msg = f"类型:{type} 的最新记录如下:\n\n"
|
result_msg = f"类型:【{type}】\n\n"
|
||||||
|
|
||||||
for item in data:
|
for item in data:
|
||||||
result_msg += f"{item['title']}\n"
|
result_msg += f"{item['title']}\n"
|
||||||
|
|||||||
@@ -595,7 +595,7 @@ class Jx3ApiPlugin(Star):
|
|||||||
return await self.plain_msg(event, lambda: self.jx3fun.pianzhi(qq))
|
return await self.plain_msg(event, lambda: self.jx3fun.pianzhi(qq))
|
||||||
|
|
||||||
|
|
||||||
async def jx3_bagua(self, event: AstrMessageEvent,name: str,text: str):
|
async def jx3_bagua(self, event: AstrMessageEvent,name: str = "818"):
|
||||||
"""剑三 八卦 类型"""
|
"""剑三 八卦 类型"""
|
||||||
return await self.plain_msg(event, lambda: self.jx3fun.bagua(name))
|
return await self.plain_msg(event, lambda: self.jx3fun.bagua(name))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user