德摩根律(
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-11-09 23:47:26 +08:00
parent 03900f4416
commit 4a3b49ce79

View File

@ -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