refactor: 恢复插件事件调用

This commit is contained in:
RockChinQ
2024-01-30 21:45:17 +08:00
parent e2de3d0102
commit 33d600fb6b
10 changed files with 298 additions and 86 deletions

View File

@@ -75,7 +75,7 @@ class PluginLoader(loader.PluginLoader):
for k, v in ctx.event.dict().items():
args[k] = v
await func(plugin, **args)
func(plugin, **args)
self._current_container.event_handlers[event] = handler