koishi-plugin-node-async-bot-all 1.9.4 → 1.9.5

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 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -51,7 +51,7 @@ var import_koishi = require("koishi");
51
51
  var import_os = __toESM(require("os"));
52
52
 
53
53
  // package.json
54
- var version = "1.9.1";
54
+ var version = "1.9.4";
55
55
 
56
56
  // src/fun.ts
57
57
  var import_fs = __toESM(require("fs"));
@@ -302,7 +302,7 @@ async function getInfo(ctx, session) {
302
302
  const time = getHongKongTime();
303
303
  let msg;
304
304
  let data = await readInfoFile();
305
- if (!data.includes("基沃托斯·工业革命")) {
305
+ if (!data.includes("&time;")) {
306
306
  ctx.logger.error("Error: " + data);
307
307
  msg = {
308
308
  "time": time,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-node-async-bot-all",
3
3
  "description": "NodeAsync Bot插件(自用)",
4
- "version": "1.9.4",
4
+ "version": "1.9.5",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "contributors": [