koishi-plugin-ggcevo-game 1.2.43 → 1.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2510,7 +2510,7 @@ ${achievementList.join("\n")}`;
|
|
|
2510
2510
|
pageNum < totalPages ? `输入 pk榜 ${pageNum + 1} 查看下一页` : "已是最后一页"
|
|
2511
2511
|
].join("\n");
|
|
2512
2512
|
});
|
|
2513
|
-
ctx.command("ggcevo/切换pk状态", "切换玩家对战状态").alias("切换pk").action(async ({ session }) => {
|
|
2513
|
+
ctx.command("ggcevo/切换pk状态", "切换玩家对战状态").alias("切换pk", "pk状态", "pk开关").action(async ({ session }) => {
|
|
2514
2514
|
const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
|
|
2515
2515
|
if (!profile) return "您暂未绑定句柄。";
|
|
2516
2516
|
const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
|
|
@@ -2556,7 +2556,7 @@ ${achievementList.join("\n")}`;
|
|
|
2556
2556
|
day: "2-digit"
|
|
2557
2557
|
})}`;
|
|
2558
2558
|
});
|
|
2559
|
-
ctx.command("ggcevo/武器库 [type]").usage("输入“武器库”查看类型,或“武器库 类型”查看详细武器信息").action(async ({ session }, type) => {
|
|
2559
|
+
ctx.command("ggcevo/武器库 [type]").alias("武器商店", "武器商城", "武器商场").usage("输入“武器库”查看类型,或“武器库 类型”查看详细武器信息").action(async ({ session }, type) => {
|
|
2560
2560
|
const typeStats = Object.values(weaponConfig).reduce((stats, weapon) => {
|
|
2561
2561
|
stats[weapon.type] = (stats[weapon.type] || 0) + 1;
|
|
2562
2562
|
return stats;
|