mioki 0.6.7 → 0.6.9

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/index.mjs CHANGED
@@ -886,7 +886,7 @@ function getMiokiLogger(level) {
886
886
 
887
887
  //#endregion
888
888
  //#region package.json
889
- var version = "0.6.7";
889
+ var version = "0.6.9";
890
890
 
891
891
  //#endregion
892
892
  //#region src/actions.ts
@@ -1799,8 +1799,9 @@ async function start(options = {}) {
1799
1799
  const sortedGroups = Array.from(pluginGroups.entries()).toSorted(([a], [b]) => a - b);
1800
1800
  const failedEnablePlugins = [];
1801
1801
  try {
1802
- napcat.logger.info(`>>> 加载 mioki 内置插件: ${BUILTIN_PLUGINS.map((p) => colors$1.cyan(p.name)).join(", ")}`);
1802
+ napcat.logger.info(`>>> 加载内置插件: ${BUILTIN_PLUGINS.map((p) => colors$1.cyan(p.name)).join(", ")}`);
1803
1803
  await Promise.all(BUILTIN_PLUGINS.map((p) => enablePlugin(napcat, p, "builtin")));
1804
+ napcat.logger.info(`>>> 加载用户插件: ${sortedGroups.map(([priority, plugins$1]) => `优先级 ${colors$1.yellow(priority)} (${plugins$1.map((p) => colors$1.cyan(p.name)).join(", ")})`).join(",")}`);
1804
1805
  for (const [_, plugins$1] of sortedGroups) await Promise.all(plugins$1.map(async (p) => {
1805
1806
  try {
1806
1807
  await enablePlugin(napcat, p, "external");