️ 修改帮助命令匹配优先级

This commit is contained in:
HibiKier 2024-08-06 00:00:55 +08:00
parent 409a4f867d
commit f86bc50dba
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ _matcher = on_alconna(
Args["name?", str], Args["name?", str],
Option("-s|--superuser", action=store_true, help_text="超级用户帮助"), Option("-s|--superuser", action=store_true, help_text="超级用户帮助"),
), ),
aliases={"help", "帮助"}, aliases={"help", "帮助", "菜单"},
rule=to_me(), rule=to_me(),
priority=1, priority=1,
block=True, block=True,

View File

@ -25,7 +25,7 @@ __plugin_meta__ = PluginMetadata(
) )
_matcher = on_message(rule=to_me(), priority=997) _matcher = on_message(rule=to_me(), priority=996)
_path = IMAGE_PATH / "_base" / "laugh" _path = IMAGE_PATH / "_base" / "laugh"