@mestreyoda/fabrica 0.1.20 → 0.1.21
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.js +3 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111337,8 +111337,8 @@ import fsSync from "node:fs";
|
|
|
111337
111337
|
import path5 from "node:path";
|
|
111338
111338
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
111339
111339
|
function getCurrentVersion() {
|
|
111340
|
-
if ("0.1.
|
|
111341
|
-
return "0.1.
|
|
111340
|
+
if ("0.1.21") {
|
|
111341
|
+
return "0.1.21";
|
|
111342
111342
|
}
|
|
111343
111343
|
try {
|
|
111344
111344
|
const pkgPath = path5.join(THIS_DIR, "..", "..", "package.json");
|
|
@@ -143114,6 +143114,7 @@ function registerTelegramBootstrapHook(api, ctx) {
|
|
|
143114
143114
|
}
|
|
143115
143115
|
});
|
|
143116
143116
|
}
|
|
143117
|
+
if (hasGenesis) return;
|
|
143117
143118
|
api.on("message_received", async (event, eventCtx) => {
|
|
143118
143119
|
if (eventCtx.channelId !== "telegram") return;
|
|
143119
143120
|
const telegramConfig = readFabricaTelegramConfig(ctx.pluginConfig);
|