mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-10 15:56:03 +00:00
refactor: 恢复插件事件调用
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user