v7.0(unconfirmed)をリリース
This commit is contained in:
@@ -9,33 +9,33 @@ import * as cron from "node-cron";
|
||||
|
||||
// 機能読み込み
|
||||
import timeNotice from "./scripts/timeNotice.js";
|
||||
import weatherNotice from "./scripts/weatherNotice.js";
|
||||
import { weatherNotice } from "./scripts/weatherNotice.js";
|
||||
import earthquakeNotice from "./scripts/earthquakeNotice.js";
|
||||
import Commands from "scripts/commands/main.js";
|
||||
|
||||
// アスキーアート読み込み
|
||||
// その他機能
|
||||
import asciiArt from "./scripts/asciiart.js";
|
||||
asciiArt();
|
||||
|
||||
// フォロー機能読み込み
|
||||
import follows from "./scripts/follow/main.js";
|
||||
|
||||
// 正常終了確認読み込み
|
||||
import successExit from "./scripts/successExit.js";
|
||||
successExit();
|
||||
|
||||
// 地震情報観測開始
|
||||
earthquakeNotice();
|
||||
|
||||
/*// 時報・フォローバック(毎時)
|
||||
// 時報(1時間/1回)
|
||||
cron.schedule("0 * * * *", () => {
|
||||
timeNotice();
|
||||
follows();
|
||||
});
|
||||
|
||||
// 天気お知らせ(毎日7:01)
|
||||
cron.schedule("10 0 7 * * *", () => {
|
||||
// コマンド(10分/1回)
|
||||
cron.schedule('*/10 * * * *', () => {
|
||||
Commands();
|
||||
});
|
||||
|
||||
// 天気お知らせ(毎日7:00)
|
||||
cron.schedule("0 7 * * *", () => {
|
||||
weatherNotice();
|
||||
});*/
|
||||
});
|
||||
|
||||
// 起動表示
|
||||
console.log("BOTサーバーが起動しました");
|
||||
|
||||
Reference in New Issue
Block a user