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.
- package/lib/index.js +2 -0
- 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刷新权重数据";
|