mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
⚡️ 修改帮助命令匹配优先级
This commit is contained in:
parent
409a4f867d
commit
f86bc50dba
@ -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,
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user