fix a bug

This commit is contained in:
xtaodada 2021-06-20 17:09:59 +08:00
parent ea97c60ea0
commit c247bf5ff4
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

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