From b85097f27b59a2b0ff1043134030bd2c36930794 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Mon, 21 Jun 2021 13:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E8=BF=87=E6=BB=A4=20userbot=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=B6=88=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func.py b/func.py index 853d810..371d306 100644 --- a/func.py +++ b/func.py @@ -127,7 +127,7 @@ def chat_content_exec(update, context): print("群组类型: " + str(chat_type)) print("用户ID: " + str(user_id)) print("chat_id: " + str(chat_id)) - if text.startswith('/') or '//' in text: + if text.startswith('/') or '//' in text or text.startswith('-'): print("这是一条指令或者链接信息,跳过") return else: