noticeUwuzu/README.md

32 lines
881 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# uwuzuお知らせBOT
# uwuzuお知らせBOTについて
uwuzuで動作するお知らせBOTです。
# 設定
examples/config.tsをプロジェクトルートへ移動し各設定を更新してください。
## 設定項目
earthquake.reconnectTimes地震情報のWebSocketが切断されたときに自動再接続する時間(ミリ秒)
earthquake.websocketUrl地震情報のWebSocket接続先URL
earthquake.areasCsvUrl地域情報のデータベース(CSV)ファイルのURL
weather.splitCount天気お知らせの返信の分割数(4分割を推奨)
apiTokenBOTアカウントのAPIキー
uwuzuServer使用するuwuzuサーバーのホスト名(uwuzu.netなど)
# サーバー起動
```
npm install
npm run build
npm run start
```
※Node.js・npmがインストールされている必要があります。
# ライセンス
Apache 2.0 License