koishi-plugin-ggcevo-game 2.0.1 → 2.0.2

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 +29 -29
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -8082,7 +8082,7 @@ function apply(ctx, config) {
8082
8082
  });
8083
8083
  ctx.command("ggcevo/单抽").action(async (argv) => {
8084
8084
  const session = argv.session;
8085
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8085
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8086
8086
  if (!profile) {
8087
8087
  return "🔒 需要先绑定游戏句柄。";
8088
8088
  }
@@ -8109,7 +8109,7 @@ function apply(ctx, config) {
8109
8109
  });
8110
8110
  ctx.command("ggcevo/十连抽").action(async (argv) => {
8111
8111
  const session = argv.session;
8112
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8112
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8113
8113
  if (!profile) {
8114
8114
  return "🔒 需要先绑定游戏句柄。";
8115
8115
  }
@@ -8141,7 +8141,7 @@ function apply(ctx, config) {
8141
8141
  });
8142
8142
  ctx.command("ggcevo/背包").action(async (argv) => {
8143
8143
  const session = argv.session;
8144
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8144
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8145
8145
  if (!profile) return "🔒 需要先绑定游戏句柄。";
8146
8146
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
8147
8147
  const items = await ctx.database.get("ggcevo_backpack", { handle });
@@ -8161,7 +8161,7 @@ ${itemDetails.join("\n")}`;
8161
8161
  ctx.command("ggcevo/签到").action(async (argv) => {
8162
8162
  try {
8163
8163
  const session = argv.session;
8164
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8164
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8165
8165
  if (!profile) return "🔒 需要先绑定游戏句柄。";
8166
8166
  const { regionId, realmId, profileId } = profile;
8167
8167
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -8319,7 +8319,7 @@ ${ticketMessage}${effectMessage}`;
8319
8319
  ctx.command("ggcevo/补签").action(async (argv) => {
8320
8320
  try {
8321
8321
  const session = argv.session;
8322
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8322
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8323
8323
  if (!profile) return "🔒 需要先绑定游戏句柄。";
8324
8324
  const { regionId, realmId, profileId } = profile;
8325
8325
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -8374,7 +8374,7 @@ ${ticketMessage}${effectMessage}`;
8374
8374
  });
8375
8375
  ctx.guild().command("ggcevo/每月津贴").action(async (argv) => {
8376
8376
  const session = argv.session;
8377
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8377
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8378
8378
  if (!profile) return "🔒 需要先绑定游戏句柄。";
8379
8379
  const { regionId, realmId, profileId } = profile;
8380
8380
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -8728,7 +8728,7 @@ ${ticketMessage}${effectMessage}`;
8728
8728
  const ctx2 = session.bot.ctx;
8729
8729
  let handle;
8730
8730
  if (!player) {
8731
- const [profile] = await ctx2.database.get("sc2arcade_player", { userId: session.userId });
8731
+ const [profile] = await ctx2.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8732
8732
  if (!profile) return "🔒 需要先绑定游戏句柄。";
8733
8733
  handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
8734
8734
  } else {
@@ -8844,7 +8844,7 @@ ${ticketMessage}${effectMessage}`;
8844
8844
  });
8845
8845
  ctx.command("ggcevo/兑换赞助物品", "兑换赞助物品").action(async ({ session }) => {
8846
8846
  try {
8847
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
8847
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
8848
8848
  if (!profile) return "🔒 需要先绑定游戏句柄。";
8849
8849
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
8850
8850
  const existingEntries = await ctx.database.get("ggcevo_blacklist", { handle });
@@ -9037,7 +9037,7 @@ ${items.join("、")}
9037
9037
  });
9038
9038
  ctx.command("ggcevo/扭蛋").action(async (argv) => {
9039
9039
  const session = argv.session;
9040
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
9040
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
9041
9041
  if (!profile) {
9042
9042
  return "🔒 需要先绑定游戏句柄。";
9043
9043
  }
@@ -9153,7 +9153,7 @@ ${items.join("、")}
9153
9153
  ctx.command("ggcevo/个人信息").action(async (argv) => {
9154
9154
  const session = argv.session;
9155
9155
  const output = [];
9156
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
9156
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
9157
9157
  if (!profile) return "🔒 需要先绑定游戏句柄。";
9158
9158
  const { regionId, realmId, profileId } = profile;
9159
9159
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -9231,7 +9231,7 @@ ${items.join("、")}
9231
9231
  const session = argv.session;
9232
9232
  const Curfew = fixedCurfewCheck(session, config);
9233
9233
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
9234
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
9234
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
9235
9235
  if (!profile) return "🔒 需要先绑定游戏句柄。";
9236
9236
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
9237
9237
  const existingEntries = await ctx.database.get("ggcevo_blacklist", { handle });
@@ -9614,7 +9614,7 @@ ${protectionList}
9614
9614
  ctx.command("ggcevo/武器库 [category]").usage('输入"武器库"查看类型,或"武器库 类型"查看详细武器信息').action(async ({ session }, category) => {
9615
9615
  const Curfew = fixedCurfewCheck(session, config);
9616
9616
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
9617
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
9617
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
9618
9618
  if (!profile) return "⚠️ 需要先绑定游戏句柄";
9619
9619
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
9620
9620
  const [careerData] = await ctx.database.get("ggcevo_careers", { handle });
@@ -10070,7 +10070,7 @@ ${discountDetails.join("\n")}`;
10070
10070
  ctx.command("ggcevo/升级科技 <target>", "升级空间站科技").action(async ({ session }, target) => {
10071
10071
  const Curfew = fixedCurfewCheck(session, config);
10072
10072
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
10073
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10073
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10074
10074
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10075
10075
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
10076
10076
  if ((await ctx.database.get("ggcevo_blacklist", { handle })).length) {
@@ -10089,7 +10089,7 @@ ${discountDetails.join("\n")}`;
10089
10089
  ctx.command("ggcevo/升级武器 <target>", "升级武器").alias("升级").action(async ({ session }, target) => {
10090
10090
  const Curfew = fixedCurfewCheck(session, config);
10091
10091
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
10092
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10092
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10093
10093
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10094
10094
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
10095
10095
  if ((await ctx.database.get("ggcevo_blacklist", { handle })).length) {
@@ -10265,7 +10265,7 @@ ${discountDetails.join("\n")}`;
10265
10265
  ctx.command("ggcevo/拆卸 <weapon> <mod>", "卸载武器模块,专属模块返还50%金币,通用模块返还80%金币").action(async ({ session }, weapon, mod) => {
10266
10266
  const Curfew = fixedCurfewCheck(session, config);
10267
10267
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
10268
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10268
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10269
10269
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10270
10270
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
10271
10271
  const existingEntries = await ctx.database.get("ggcevo_blacklist", { handle });
@@ -10329,7 +10329,7 @@ ${discountDetails.join("\n")}`;
10329
10329
  const Curfew = privateChatCurfewCheck(session, config);
10330
10330
  if (!Curfew) return "⛔ 非宵禁时段 (0:00-18:00) 禁止在私聊中使用攻击指令。";
10331
10331
  }
10332
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10332
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10333
10333
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10334
10334
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
10335
10335
  const existingEntries = await ctx.database.get("ggcevo_blacklist", { handle });
@@ -10564,7 +10564,7 @@ ${discountDetails.join("\n")}`;
10564
10564
  const parseList = /* @__PURE__ */ __name((str) => str ? str.split(",").map((s) => s.trim()).filter(Boolean) : [], "parseList");
10565
10565
  const tags = parseList(options.tags);
10566
10566
  const passives = parseList(options.passives);
10567
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10567
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10568
10568
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10569
10569
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
10570
10570
  const existingEntries = await ctx.database.get("ggcevo_blacklist", { handle });
@@ -10870,7 +10870,7 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
10870
10870
  const session = argv.session;
10871
10871
  const Curfew = fixedCurfewCheck(session, config);
10872
10872
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
10873
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10873
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10874
10874
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10875
10875
  const { regionId, realmId, profileId } = profile;
10876
10876
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -10954,7 +10954,7 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
10954
10954
  ctx.command("ggcevo/加入 <faction>", "加入阵营").alias("加入阵营").action(async ({ session }, faction) => {
10955
10955
  const Curfew = fixedCurfewCheck(session, config);
10956
10956
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
10957
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
10957
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
10958
10958
  if (!profile) return "🔒 需要先绑定游戏句柄。";
10959
10959
  const { regionId, realmId, profileId } = profile;
10960
10960
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -11020,7 +11020,7 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
11020
11020
  ctx.command("ggcevo/退出", "退出当前阵营").alias("退出阵营").action(async ({ session }) => {
11021
11021
  const Curfew = fixedCurfewCheck(session, config);
11022
11022
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11023
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
11023
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
11024
11024
  if (!profile) return "🔒 需要先绑定游戏句柄。";
11025
11025
  const { regionId, realmId, profileId } = profile;
11026
11026
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -11072,7 +11072,7 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
11072
11072
  ctx.command("ggcevo/转职 [profession]", "转职系统").action(async ({ session }, profession) => {
11073
11073
  const Curfew = fixedCurfewCheck(session, config);
11074
11074
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11075
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
11075
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
11076
11076
  if (!profile) return "🔒 需要先绑定游戏句柄。";
11077
11077
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
11078
11078
  const existingEntries = await ctx.database.get("ggcevo_blacklist", { handle });
@@ -11484,7 +11484,7 @@ ${discountReason}` : "",
11484
11484
  const session = argv.session;
11485
11485
  const Curfew = fixedCurfewCheck(session, config);
11486
11486
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11487
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
11487
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
11488
11488
  if (!profile) return "🔒 需要先绑定游戏句柄。";
11489
11489
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
11490
11490
  const [items, signData, careerData] = await Promise.all([
@@ -11644,7 +11644,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
11644
11644
  ctx.command("ggcevo/挖矿").action(async ({ session }) => {
11645
11645
  const Curfew = fixedCurfewCheck(session, config);
11646
11646
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11647
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
11647
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
11648
11648
  if (!profile) return "🔒 需要先绑定游戏句柄。";
11649
11649
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
11650
11650
  if (await ctx.database.get("ggcevo_blacklist", { handle }).then((r) => r.length)) {
@@ -11845,7 +11845,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
11845
11845
  try {
11846
11846
  const Curfew = fixedCurfewCheck(session, config);
11847
11847
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11848
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
11848
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
11849
11849
  if (!profile) return "⚠️ 需要先绑定游戏句柄";
11850
11850
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
11851
11851
  if (await ctx.database.get("ggcevo_blacklist", { handle }).then((r) => r.length)) {
@@ -11985,7 +11985,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
11985
11985
  const session = argv.session;
11986
11986
  const Curfew = fixedCurfewCheck(session, config);
11987
11987
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11988
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
11988
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
11989
11989
  if (!profile) return "🔒 请先绑定游戏句柄。";
11990
11990
  const { regionId, realmId, profileId } = profile;
11991
11991
  const handle = `${regionId}-S2-${realmId}-${profileId}`;
@@ -12161,7 +12161,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12161
12161
  { id: 9, name: "莫洛托夫燃烧弹", type: "手榴弹", chance: 0.05 },
12162
12162
  { id: 10, name: "铝热炸弹", type: "爆破物", chance: 0.05 }
12163
12163
  ];
12164
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
12164
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
12165
12165
  if (!profile) return "🔒 需要先绑定游戏句柄。";
12166
12166
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
12167
12167
  const name2 = session.username;
@@ -12530,7 +12530,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12530
12530
  ctx.command("ggcevo/飞船信息").action(async ({ session }) => {
12531
12531
  const Curfew = fixedCurfewCheck(session, config);
12532
12532
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
12533
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
12533
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
12534
12534
  if (!profile) return "🔒 需要先绑定游戏句柄。";
12535
12535
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
12536
12536
  const [shipRecord] = await ctx.database.get("ggcevo_spaceship", { handle });
@@ -12558,7 +12558,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12558
12558
  ctx.command("ggcevo/购买飞船 [shipName]").alias("飞船").action(async ({ session }, shipName) => {
12559
12559
  const Curfew = fixedCurfewCheck(session, config);
12560
12560
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
12561
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
12561
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
12562
12562
  if (!profile) return "🔒 需要先绑定游戏句柄。";
12563
12563
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
12564
12564
  if ((await ctx.database.get("ggcevo_blacklist", { handle })).length) {
@@ -12631,7 +12631,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12631
12631
  ctx.command("ggcevo/升级物品 [itemName]", "升级辛迪加海盗物品").usage('输入"升级物品"查看可升级列表,或"升级物品 物品名称"进行升级').action(async ({ session }, itemName) => {
12632
12632
  const Curfew = fixedCurfewCheck(session, config);
12633
12633
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
12634
- const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
12634
+ const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId, isActive: true });
12635
12635
  if (!profile) return "🔒 需要先绑定游戏句柄。";
12636
12636
  const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
12637
12637
  if ((await ctx.database.get("ggcevo_blacklist", { handle })).length) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "星际争霸2咕咕虫-evolved地图的专属游戏助手插件,集成天梯排行、抽奖系统、签到福利、兑换商城等丰富功能。",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [