Skip to content

Commit 32f11d9

Browse files
committed
添加了插件的加载完成和卸载完成的钩子事件
1 parent 779606e commit 32f11d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

astrbot/core/star/star_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ async def _terminate_plugin(star_metadata: StarMetadata) -> None:
11791179
for handler in handlers:
11801180
try:
11811181
logger.info(
1182-
f"hook(on_plugin_loaded) -> {star_map[handler.handler_module_path].name} - {handler.handler_name}",
1182+
f"hook(on_plugin_unloaded) -> {star_map[handler.handler_module_path].name} - {handler.handler_name}",
11831183
)
11841184
await handler.handler(star_metadata)
11851185
except Exception:

0 commit comments

Comments
 (0)