Skip to content

Commit 03e1bb7

Browse files
authored
Merge pull request AstrBotDevs#807 from shuiping233/fix-#806
修复命令参数报错信息无法发送至qq官方机器人平台的bug
2 parents 85dbb24 + d817635 commit 03e1bb7

File tree

1 file changed

+2
-0
lines changed
  • astrbot/core/pipeline/waking_check

1 file changed

+2
-0
lines changed

astrbot/core/pipeline/waking_check/stage.py

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ async def process(
106106
f"插件 {star_map[handler.handler_module_path].name}: {e}"
107107
)
108108
)
109+
await event._post_send()
109110
event.stop_event()
110111
passed = False
111112
break
@@ -117,6 +118,7 @@ async def process(
117118
f"ID {event.get_sender_id()} 权限不足。通过 /sid 获取 ID 并请管理员添加。"
118119
)
119120
)
121+
await event._post_send()
120122
event.stop_event()
121123
return
122124

0 commit comments

Comments
 (0)