Add coin leaderboard command
check / local-gate (push) Failing after 1m34s

This commit is contained in:
JWeBot Contributors
2026-10-15 19:00:29 +08:00
parent 148ae672f4
commit bf4f28f48e
26 changed files with 357 additions and 24 deletions
@@ -42,6 +42,10 @@ LOCAL_COMMAND_ALIASES = {
"context": "context_summary",
"金币": "wallet",
"wallet": "wallet",
"金币排行": "coin_ranking",
"金币排行榜": "coin_ranking",
"大富翁榜": "coin_ranking",
"richlist": "coin_ranking",
"转账": "transfer",
"transfer": "transfer",
"贷款": "loan",
@@ -171,6 +175,13 @@ LOCAL_EXTENSIONS = (
help_entries=("/转账 对方 金额;/transfer",),
command_kinds=("transfer",),
),
LocalExtensionDescriptor(
extension_id="coin-ranking",
author=JWEBOT_AUTHOR,
description="富榜",
help_entries=("/大富翁榜",),
command_kinds=("coin_ranking",),
),
LocalExtensionDescriptor(
extension_id="coin-loan",
author=JWEBOT_AUTHOR,