koishi-plugin-ggcevo-game 1.2.34 → 1.2.35

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1560,7 +1560,8 @@ ${itemDetails.join("\n")}`;
1560
1560
  const { regionId, realmId, profileId } = profile;
1561
1561
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
1562
1562
  const [user] = await ctx.database.get("ggcevo_rank", {
1563
- handle
1563
+ handle,
1564
+ rankseason: config.rankseason
1564
1565
  });
1565
1566
  if (!user) return "暂未找到您的排名信息。";
1566
1567
  if (user.Blacklist) return "❌ 您已经被禁止参加本赛季胜点榜。";
@@ -1593,7 +1594,8 @@ ${itemDetails.join("\n")}`;
1593
1594
  const { regionId, realmId, profileId } = profile;
1594
1595
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
1595
1596
  const [user] = await ctx.database.get("ggcevo_rank", {
1596
- handle
1597
+ handle,
1598
+ rankseason: config.rankseason
1597
1599
  });
1598
1600
  if (!user) return "暂未找到对方的排名信息。";
1599
1601
  if (user.Blacklist) return "❌ 对方已经被禁止参加本赛季胜点榜。";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "《星际争霸2》咕咕虫-evolved地图的专属游戏助手插件,集成天梯排行、抽奖系统、签到福利、兑换商城等丰富功能。",
4
- "version": "1.2.34",
4
+ "version": "1.2.35",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [