mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-11 23:10:02 +08:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e3cd1e0aa | ||
|
|
6786c6b7d7 |
+1
-1
@@ -1 +1 @@
|
|||||||
__version__: v0.2.4-da6d5b4
|
__version__: v0.2.4-07be73c
|
||||||
|
|||||||
@@ -78,18 +78,12 @@ _matcher = on_alconna(
|
|||||||
Option("-s|--superuser", action=store_true, help_text="超级用户帮助"),
|
Option("-s|--superuser", action=store_true, help_text="超级用户帮助"),
|
||||||
Option("-d|--detail", action=store_true, help_text="详细帮助"),
|
Option("-d|--detail", action=store_true, help_text="详细帮助"),
|
||||||
),
|
),
|
||||||
aliases={"help", "菜单"},
|
aliases={"help", "帮助", "菜单"},
|
||||||
rule=to_me(),
|
rule=to_me(),
|
||||||
priority=1,
|
priority=1,
|
||||||
block=True,
|
block=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
_matcher.shortcut(
|
|
||||||
r"帮助(?P<name>.*?)",
|
|
||||||
command="功能",
|
|
||||||
arguments=["{name}"],
|
|
||||||
prefix=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
_matcher.shortcut(
|
_matcher.shortcut(
|
||||||
r"详细帮助",
|
r"详细帮助",
|
||||||
|
|||||||
Reference in New Issue
Block a user