koishi-plugin-ggcevo-game 1.2.57 → 1.2.58

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 +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -4096,7 +4096,7 @@ ${validTypes.join("、")}`;
4096
4096
  }
4097
4097
  await session.send(`请问你确定要缴纳1000金币加入人类联盟吗?(请在30秒内输入“是”确定加入)`);
4098
4098
  const cost = await session.prompt(3e4);
4099
- if (!cost) return "已取消加入。";
4099
+ if (cost !== "是") return "已取消加入。";
4100
4100
  await ctx.database.upsert("ggcevo_sign", [{
4101
4101
  handle,
4102
4102
  totalRewards: signData?.totalRewards - 1e3
@@ -4118,7 +4118,7 @@ ${validTypes.join("、")}`;
4118
4118
  }
4119
4119
  await session.send(`请问你确定要缴纳2000金币并且永久开启PK功能加入辛迪加海盗吗?(请在30秒内输入“是”确定加入)`);
4120
4120
  const cost = await session.prompt(3e4);
4121
- if (!cost) return "已取消加入。";
4121
+ if (cost !== "是") return "已取消加入。";
4122
4122
  await ctx.database.upsert("ggcevo_sign", [{
4123
4123
  handle,
4124
4124
  totalRewards: signData?.totalRewards - 2e3
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.57",
4
+ "version": "1.2.58",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [