From d20b23d9782837751d341cd3eea6e9dc1ae06230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Tue, 14 Mar 2023 10:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20incorrect=20reply=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/app/webapp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/app/webapp.py b/plugins/app/webapp.py index 376f92f..a033dc8 100644 --- a/plugins/app/webapp.py +++ b/plugins/app/webapp.py @@ -58,7 +58,8 @@ class WebApp(Plugin): return if status: await message.reply_text("验证通过", reply_markup=ReplyKeyboardRemove()) - await message.reply_text("非法请求", reply_markup=ReplyKeyboardRemove()) + else: + await message.reply_text("非法请求", reply_markup=ReplyKeyboardRemove()) return else: logger.warning(