koishi-plugin-ggcevo-game 1.6.75 → 1.6.76

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 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -13001,6 +13001,8 @@ ${validBossNames.join("、")}`;
13001
13001
  });
13002
13002
  ctx.command("异形刷新权重", "查询当前主宰刷新权重").alias("yx刷新权重").action(async ({ session }) => {
13003
13003
  try {
13004
+ const Curfew = fixedCurfewCheck(session, config);
13005
+ if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
13004
13006
  const weights = await ctx.database.select("ggcevo_boss_weights", {}).execute();
13005
13007
  if (!weights || weights.length === 0) {
13006
13008
  return "当前没有配置BOSS刷新权重数据";
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.6.75",
4
+ "version": "1.6.76",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [