From 80ad60a6b9eacf4ae9fe929db8d563c099bf724f Mon Sep 17 00:00:00 2001 From: Komorebi <110453675+KomoriDev@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:59:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20=E8=AE=BE=E7=BD=AE=20bl?= =?UTF-8?q?ock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_kawaii_status/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nonebot_plugin_kawaii_status/__init__.py b/nonebot_plugin_kawaii_status/__init__.py index 6f7b2ef..2fc11b3 100644 --- a/nonebot_plugin_kawaii_status/__init__.py +++ b/nonebot_plugin_kawaii_status/__init__.py @@ -45,10 +45,11 @@ async def _to_me() -> bool: status = ( - Command("status", help_text="查看林汐运行状态") + Command("status", help_text="查看 Bot 运行状态") .usage("/status\n/状态") .action(lambda: UniMessage.image(raw=draw())) .build( + block=True, rule=to_me(), aliases={"状态", "运行状态"}, use_cmd_start=True,