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.
- package/lib/index.js +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 (
|
|
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 (
|
|
4121
|
+
if (cost !== "是") return "已取消加入。";
|
|
4122
4122
|
await ctx.database.upsert("ggcevo_sign", [{
|
|
4123
4123
|
handle,
|
|
4124
4124
|
totalRewards: signData?.totalRewards - 2e3
|