@inetafrica/open-claudia 1.2.5 → 1.2.7
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/bot.js +1 -2
- package/package.json +1 -1
package/bot.js
CHANGED
|
@@ -819,7 +819,6 @@ bot.onText(/\/upgrade$/, async (msg) => {
|
|
|
819
819
|
await send(`Upgrade failed: ${e.message}`);
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
|
-
releaseLock();
|
|
823
822
|
// Give Telegram time to deliver the message, then exit for launchd to restart
|
|
824
823
|
setTimeout(() => process.exit(0), 2000);
|
|
825
824
|
});
|
|
@@ -1220,4 +1219,4 @@ console.log(`Vault: ${VAULT_FILE} (${vault.exists() ? "exists" : "not created"})
|
|
|
1220
1219
|
console.log(`Onboarded: ${isOnboarded()}`);
|
|
1221
1220
|
|
|
1222
1221
|
// Notify owner that bot is back online
|
|
1223
|
-
bot.sendMessage(CHAT_ID, `
|
|
1222
|
+
bot.sendMessage(CHAT_ID, `Back online and ready! Running v${CURRENT_VERSION}.`).catch(() => {});
|