From 4a3b49ce7916c6d039c21240832a28c9b2cfcedb Mon Sep 17 00:00:00 2001 From: MixBadGun <1059129006@qq.com> Date: Sun, 9 Nov 2025 23:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=B7=E6=91=A9=E6=A0=B9=E5=BE=8B=EF=BC=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- konabot/plugins/markdown/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konabot/plugins/markdown/__init__.py b/konabot/plugins/markdown/__init__.py index a03773e..0f92ce1 100644 --- a/konabot/plugins/markdown/__init__.py +++ b/konabot/plugins/markdown/__init__.py @@ -15,7 +15,7 @@ from konabot.plugins.markdown.core import MarkDownCore def is_markdown_mentioned(evt: BaseEvent, msg: UniMsg) -> bool: txt = msg.extract_plain_text() - if "markdown" not in txt[:10] or "md" not in txt[:3]: + if "markdown" not in txt[:10] and "md" not in txt[:3]: return False return True