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