This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user