mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-09 07:16:04 +00:00
perf: 完善事件处理
This commit is contained in:
@@ -193,6 +193,7 @@ class PluginHost:
|
||||
try:
|
||||
kwargs['host'] = context.get_plugin_host()
|
||||
kwargs['event'] = event_context
|
||||
|
||||
hook(plugin['instance'], **kwargs)
|
||||
|
||||
if event_context.is_prevented_default():
|
||||
|
||||
Reference in New Issue
Block a user