refactor(qqbot): 独立指令和普通消息处理逻辑

This commit is contained in:
Rock Chin
2023-01-14 20:34:33 +08:00
parent eb1564a3dd
commit 56664f9fbc
5 changed files with 301 additions and 266 deletions

View File

@@ -139,7 +139,7 @@ class PluginHost:
hook(plugin['instance'], **kwargs)
if event_context.is_prevented_default():
logging.debug("插件 {} 要求阻止事件{}的默认行为".format(plugin['name'], event_name))
logging.debug("插件 {} 要求阻止事件 {} 的默认行为".format(plugin['name'], event_name))
if event_context.is_prevented_postorder():
logging.debug("插件 {} 阻止了后序插件的执行".format(plugin['name']))