mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 17:47:06 +08:00
* 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
AstrBot Star
AstrBot Star 就是插件。
在 AstrBot v4.0 版本后,AstrBot 内部将插件命名为 star。插件的 handler 称作 star_handler。