koishi-plugin-ggcevo-game 1.6.26 → 1.6.27
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
|
@@ -12020,6 +12020,8 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
12020
12020
|
if (await ctx.database.get("ggcevo_blacklist", { handle }).then((r) => r.length)) {
|
|
12021
12021
|
return "⛔ 您已被列入黑名单。";
|
|
12022
12022
|
}
|
|
12023
|
+
const parsedUser = import_koishi.h.parse(galaxyName)[0];
|
|
12024
|
+
if (parsedUser && parsedUser.type === "at") return "禁止探索群友。";
|
|
12023
12025
|
const [career] = await ctx.database.get("ggcevo_careers", { handle });
|
|
12024
12026
|
const careerName = career?.career;
|
|
12025
12027
|
const careerCoinBonus = careerName === "总工程师" ? 50 : 0;
|