fix: 让事件钩子被暂停时跳出循环,而不是继续执行 (#2989)

This commit is contained in:
ctrlkk
2025-10-09 15:01:45 +08:00
committed by GitHub
parent dcd8a1094c
commit 1413d6b5fe
+1
View File
@@ -97,5 +97,6 @@ async def call_event_hook(
logger.info(
f"{star_map[handler.handler_module_path].name} - {handler.handler_name} 终止了事件传播。"
)
return True
return event.is_stopped()