diff --git a/plugins/app/webapp.py b/plugins/app/webapp.py index 376f92f0..a033dc81 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(