diff --git a/core/jx3_commands.py b/core/jx3_commands.py index d7f2910..40287b3 100644 --- a/core/jx3_commands.py +++ b/core/jx3_commands.py @@ -10,7 +10,7 @@ from pathlib import Path from typing import Union import asyncio -from astrbot.api.event import filter, AstrMessageEvent, MessageEventResult, MessageChain, filter +from astrbot.api.event import filter, AstrMessageEvent, MessageEventResult, MessageChain from astrbot.api.star import Context, Star, register, StarTools from astrbot.api import logger from astrbot.api import AstrBotConfig diff --git a/main.py b/main.py index f354b98..4698b81 100644 --- a/main.py +++ b/main.py @@ -213,9 +213,9 @@ class Jx3ApiPlugin(Star): return try: + event.stop_event() async for ret in self._call_with_auto_args(handler, event, args): yield ret - event.stop_event() except Exception as e: logger.exception(f"指令执行失败: {cmd}, error={e}") yield event.plain_result("参数错误或执行失败") diff --git a/templates/temp_test.html b/templates/temp_test.html index 0601898..e68c496 100644 --- a/templates/temp_test.html +++ b/templates/temp_test.html @@ -1,90 +1 @@ -
-{"version":"v20251030","xf":"易筋经","sq":"1,1,1,1,1,1,1,9,5,7","client":"std"}
-
-
-
-
-
-
- 推荐武学助手!
- 👉
-
-
-
- 经过提交建议优化后的武学助手真的很好用!
-
-
-
-
- -
- - - - PS:2026.1.8更新 明面优化武学助手实则重大削弱 实在不想动脑可以用。 - - - -
- -
-
-
-
-
-
-
-
-
- -
- - - 加速:紫武默认1段or2段(头鞋附魔+加速大酒) 橙武推荐2段以上 - - -
- -
-
- :1效果回豆 2伤害 1会心
-
-
- :1效果回豆 3伤害
-
-
- :1伤害 1目标数量 1持续时间
-
-
- :3伤害 1会心 或者 2伤害 2会心(自己酌情选择)
-
-
- :2伤害 2CD
-
-
- :
-
- 3持续
-
- 1回豆效果(加速2段以上建议点,看个人手感)
-
-
-