mioki 0.7.2 → 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 +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package-BHifcSjc.mjs +6 -0
- package/dist/package-BHifcSjc.mjs.map +1 -0
- package/dist/{package-BgBs6o_K.cjs → package-LpXLwTcp.cjs} +2 -2
- package/dist/package-LpXLwTcp.cjs.map +1 -0
- package/package.json +2 -2
- package/dist/package-BgBs6o_K.cjs.map +0 -1
- package/dist/package-z_NEfbNK.mjs +0 -6
- package/dist/package-z_NEfbNK.mjs.map +0 -1
package/dist/cli.cjs
CHANGED
package/dist/cli.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_package = require('./package-
|
|
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.
|
|
977
|
+
await (await bot.pickFriend(mainOwner))?.sendMsg(message);
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
980
|
throw new Error("请至少设置一个主人");
|