Skip to content

Commit

Permalink
🚑️ 设置 block
Browse files Browse the repository at this point in the history
  • Loading branch information
KomoriDev authored Aug 13, 2024
1 parent 705bb4a commit 80ad60a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nonebot_plugin_kawaii_status/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 80ad60a

Please sign in to comment.