From 34a654b5dfbc97bc44b9df63abf221d9db5a82ce Mon Sep 17 00:00:00 2001 From: scdhh Date: Wed, 15 Nov 2023 14:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=8F=AA?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E4=B8=BB=E5=91=BD=E4=BB=A4=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=8F=91=E9=80=81=E5=B8=AE=E5=8A=A9=E6=8F=90=E7=A4=BA=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_tetris_stats/game_data_processor/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot_plugin_tetris_stats/game_data_processor/__init__.py b/nonebot_plugin_tetris_stats/game_data_processor/__init__.py index cae4ff2..9a4a930 100644 --- a/nonebot_plugin_tetris_stats/game_data_processor/__init__.py +++ b/nonebot_plugin_tetris_stats/game_data_processor/__init__.py @@ -90,7 +90,7 @@ def add_default_handlers(matcher: type[AlconnaMatcher]) -> None: @matcher.handle() async def _(matcher: Matcher, matches: AlcMatches): - if matches.head_matched and matches.options != {}: + if matches.head_matched and matches.options != {} or matches.main_args == {}: await matcher.finish( (f'{matches.error_info!r}\n' if matches.error_info is not None else '') + f'输入"{matches.header_result} --help"查看帮助'