mioki 0.7.3 → 0.7.4

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/dist/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_package = require('./package-X2xLahMG.cjs');
2
+ const require_package = require('./package-LpXLwTcp.cjs');
3
3
  let node_fs = require("node:fs");
4
4
  node_fs = require_package.__toESM(node_fs);
5
5
  let node_path = require("node:path");
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as version } from "./package-DtqcPIWK.mjs";
2
+ import { t as version } from "./package-BHifcSjc.mjs";
3
3
  import fs from "node:fs";
4
4
  import path from "node:path";
5
5
  import mri from "mri";
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_package = require('./package-X2xLahMG.cjs');
1
+ const require_package = require('./package-LpXLwTcp.cjs');
2
2
  let node_fs = require("node:fs");
3
3
  node_fs = require_package.__toESM(node_fs);
4
4
  let node_util = require("node:util");
@@ -974,7 +974,7 @@ async function noticeMainOwner(bot, message) {
974
974
  }
975
975
  const mainOwner = botConfig.owners[0];
976
976
  if (mainOwner) {
977
- await bot.sendPrivateMsg(mainOwner, message);
977
+ await (await bot.pickFriend(mainOwner))?.sendMsg(message);
978
978
  return;
979
979
  }
980
980
  throw new Error("请至少设置一个主人");