mioki 0.9.0 → 0.9.1

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-BMRAnl4f.cjs');
2
+ const require_package = require('./package-DRiVbSa9.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-CDtL5_dK.mjs";
2
+ import { t as version } from "./package-CbQDT4KP.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-BMRAnl4f.cjs');
1
+ const require_package = require('./package-DRiVbSa9.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");
@@ -975,7 +975,7 @@ async function noticeGroups(bot, groupIdList, message, delay = 1e3) {
975
975
  * 群发好友消息
976
976
  */
977
977
  async function noticeFriends(bot, friendIdList, message, delay = 1e3) {
978
- if (!bot.isOnline) {
978
+ if (!bot.isOnline()) {
979
979
  logger.error("发送失败,Bot 不在线");
980
980
  return;
981
981
  }