kotori-bot
Advanced tools
Comparing version 1.6.0 to 1.6.1
/** | ||
* @Package kotori-bot | ||
* @Version 1.6.0-rc.1 | ||
* @Version 1.6.1 | ||
* @Author Arimura Sena <me@hotaru.icu> | ||
@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved. | ||
* @Link https://github.com/kotorijs/kotori | ||
* @Date 2024/8/9 17:33:09 | ||
* @Date 2024/8/9 18:47:19 | ||
*/ | ||
@@ -12,0 +12,0 @@ |
/** | ||
* @Package kotori-bot | ||
* @Version 1.6.0-rc.1 | ||
* @Version 1.6.1 | ||
* @Author Arimura Sena <me@hotaru.icu> | ||
@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved. | ||
* @Link https://github.com/kotorijs/kotori | ||
* @Date 2024/8/9 17:33:09 | ||
* @Date 2024/8/9 18:47:19 | ||
*/ | ||
@@ -59,7 +59,9 @@ | ||
} | ||
const endTime = (/* @__PURE__ */ new Date()).getTime(); | ||
const timeTaken = (endTime - startTime) / 1e3; | ||
import_loader.Logger.error(`[Daemon] Exited with code ${code} in ${timeTaken} seconds.`); | ||
if (timeTaken <= 5) return; | ||
import_loader.Logger.error("[Daemon] Restarting..."); | ||
if (code !== 233) { | ||
const endTime = (/* @__PURE__ */ new Date()).getTime(); | ||
const timeTaken = (endTime - startTime) / 1e3; | ||
import_loader.Logger.error(`[Daemon] Exited with code ${code} in ${timeTaken} seconds.`); | ||
if (timeTaken <= 5) return; | ||
} | ||
import_loader.Logger.warn("[Daemon] Restarting..."); | ||
daemon(virtualEnv); | ||
@@ -66,0 +68,0 @@ }); |
/** | ||
* @Package kotori-bot | ||
* @Version 1.6.0-rc.1 | ||
* @Version 1.6.1 | ||
* @Author Arimura Sena <me@hotaru.icu> | ||
@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved. | ||
* @Link https://github.com/kotorijs/kotori | ||
* @Date 2024/8/9 17:33:09 | ||
* @Date 2024/8/9 18:47:19 | ||
*/ | ||
@@ -12,0 +12,0 @@ |
/** | ||
* @Package kotori-bot | ||
* @Version 1.6.0-rc.1 | ||
* @Version 1.6.1 | ||
* @Author Arimura Sena <me@hotaru.icu> | ||
@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved. | ||
* @Link https://github.com/kotorijs/kotori | ||
* @Date 2024/8/9 17:33:09 | ||
* @Date 2024/8/9 18:47:19 | ||
*/ | ||
@@ -12,0 +12,0 @@ |
/** | ||
* @Package kotori-bot | ||
* @Version 1.6.0-rc.1 | ||
* @Version 1.6.1 | ||
* @Author Arimura Sena <me@hotaru.icu> | ||
@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved. | ||
* @Link https://github.com/kotorijs/kotori | ||
* @Date 2024/8/9 17:33:09 | ||
* @Date 2024/8/9 18:47:19 | ||
*/ | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "kotori-bot", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Cross-platform chatbot framework base on Node.js and TypeScript", | ||
@@ -40,4 +40,4 @@ "main": "lib/index.js", | ||
"tsx": "^4.11.2", | ||
"@kotori-bot/core": "^1.6.0", | ||
"@kotori-bot/loader": "^1.7.0" | ||
"@kotori-bot/loader": "^1.7.1", | ||
"@kotori-bot/core": "^1.6.1" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56566
421
+ Added@types/node@22.9.3(transitive)
- Removed@types/node@22.9.1(transitive)
Updated@kotori-bot/core@^1.6.1
Updated@kotori-bot/loader@^1.7.1