noticeUwuzu v6.0@uwuzu1.5.4

This commit is contained in:
2025-07-26 21:28:07 +09:00
parent 3955d91978
commit 724e18ba3b
20 changed files with 268 additions and 120 deletions
+10 -6
View File
@@ -1,3 +1,9 @@
// 起動チェック
import Check from "./checks/main.js";
(async () => {
await Check();
})();
// 定期実行読み込み
import * as cron from "node-cron";
@@ -10,8 +16,8 @@ import earthquakeNotice from "./scripts/earthquakeNotice.js";
import asciiArt from "./scripts/asciiart.js";
asciiArt();
// フォローバック機能読み込み
import followBack from "./scripts/followBack.js";
// フォロー機能読み込み
import follows from "./scripts/follow/main.js";
// 正常終了確認読み込み
import successExit from "./scripts/successExit.js";
@@ -23,14 +29,12 @@ earthquakeNotice();
// 時報・フォローバック(毎時)
cron.schedule("0 * * * *", () => {
timeNotice();
followBack();
follows();
});
// 天気お知らせ(毎日7:01)
cron.schedule("1 7 * * *", () => {
setTimeout(() => {
weatherNotice();
}, 100);
weatherNotice();
});
// コンソールで表示