🐛 好感度排行提供默认值 (#1624)

This commit is contained in:
HibiKier 2024-09-12 22:15:04 +08:00 committed by GitHub
parent 94ef33264b
commit 8a688eb4f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ _matcher = on_alconna(
Subcommand("my-props", help_text="我的道具"),
Subcommand("buy", Args["name", str]["num", int, 1], help_text="购买道具"),
Subcommand("use", Args["name", str]["num?", int, 1], help_text="使用道具"),
Subcommand("gold-list", Args["num", int], help_text="金币排行"),
Subcommand("gold-list", Args["num?", int], help_text="金币排行"),
),
priority=5,
block=True,

View File

@ -92,7 +92,7 @@ _sign_matcher = on_alconna(
Option("--my", action=store_true, help_text="我的签到"),
Option(
"-l|--list",
Args["num", int],
Args["num?", int],
help_text="好感度排行",
),
Option("-g|--global", action=store_true, help_text="全局排行"),