Files
AstrBot/astrbot/core/star
伊尔弥亚 - Irmia 152fb3be8f fix: skip _unbind_plugin for inactivated plugins in reload() (#9096)
* fix: skip _unbind_plugin for inactivated plugins in reload()

* fix: only skip _unbind_plugin for deactivated plugins on specified-plugin reload path

Revert the full reload unconditional smd.activated guard added in 555fcfa; it is unnecessary because load() re-adds everything after the clear anyway. Keep the guard only on the specified-plugin reload path.

* test: set tool active=False precondition in turn_on_plugin test; clean up mock_load in unbind test
2026-07-03 00:34:37 +08:00
..
2024-12-09 22:38:42 +08:00

AstrBot Star

AstrBot Star 就是插件。

在 AstrBot v4.0 版本后AstrBot 内部将插件命名为 star。插件的 handler 称作 star_handler