From c247bf5ff44e2f3c4866f1b04f999de5d43f8c0d Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 20 Jun 2021 17:09:59 +0800 Subject: [PATCH] fix a bug --- func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func.py b/func.py index 535125d..8b62eae 100644 --- a/func.py +++ b/func.py @@ -105,7 +105,7 @@ def chat_content_exec(update, context): print("群组类型: " + str(chat_type)) print("用户ID: " + str(user_id)) print("chat_id: " + str(chat_id)) - if text.startwith('/') or '//' in text: + if text.startswith('/') or '//' in text: print("这是一条指令或者链接信息,跳过") return else: