修复监听事件

This commit is contained in:
2024-08-03 12:27:40 +08:00
committed by GitHub
parent 8dc2541d68
commit 9660a6de02

View File

@@ -21,7 +21,7 @@ class dow_markdown(Plugin):
def __init__(self):
super().__init__()
try:
self.handlers[Event.ON_HANDLE_CONTEXT] = self.on_decorate_reply
self.handlers[Event.ON_DECORATE_REPLY] = self.on_decorate_reply
logger.info("[dow_markdown] inited.")
except Exception as e:
logger.warn("[dow_markdown] init failed, ignore.")