import type { configTypes } from "types/config"; // READMEの設定項目を参照 const config: configTypes = { // 時報設定 time: { // 時報休止期間 stopTimes: { start: 23, // 開始 stop: 6, // 停止 }, }, // 地震速報設定 earthquake: { reconnectTimes: 5000, // 再接続時間(ミリ秒) websocketUrl: "wss://api.p2pquake.net/v2/ws", // WebSocketのURL areasCsvUrl: "https://raw.githubusercontent.com/p2pquake/epsp-specifications/master/epsp-area.csv", // 対象地域CSVファイルのURL maxScaleMin: 30, // 地震発生の際の最低震度(10-70) }, // 天気お知らせ設定 weather: { splitCount: 4, // 返信の分割数 }, // 緊急時設定 emergency: { isEnabled: true, // 緊急時のコンソール表示 mail: { isEnabled: true, // 緊急時のメール送信 host: "smtp.example.com", // SMTPサーバー port: 465, // SMTPポート user: "mailUser@example.com", // BOTメール送信元 password: "mailPassword", // SMTPパスワード secure: false, // SMTPsecure設定 to: "admin@noticeuwuzu.example.com", // 緊急時メール送信先(配列可) }, }, // /report設定 report: { isEnabled: true, // 有効/無効 message: "", // 報告者へのメッセージ }, // 規約等 legal: { terms: ` `, // 利用規約 privacy: ` `, // プライバシーポリシー }, // 管理者情報設定 admin: { name: "あどみん", // BOT管理者名 showMail: false, // メールアドレスを公開するか(false:非公開/文字列:メールアドレス) panel: { // 管理パネル isEnabled: true, // 有効/無効 port: 74919, // 配信ポート }, }, // uwuzuサーバー設定 uwuzu: { apiToken: "TOKEN_EXAMPLE", // APIトークン host: "https://uwuzu.example.com", // サーバーホスト }, }; export default config;