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.
- package/lib/index.js +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.
|
|
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,
|