v3.5.1へ・ライセンス追加・.env.exampleを削除

This commit is contained in:
Last2014 2025-07-01 17:10:52 +09:00
parent 7e3c4840d3
commit 6c69ce80ef
5 changed files with 29 additions and 7 deletions

View File

@ -1,2 +0,0 @@
TOKEN=
SERVER=

3
.gitignore vendored
View File

@ -1,6 +1,5 @@
/dist/
/.env
/.env.local
/.env*
/node_modules/
/package-lock.json
/config.ts

13
LICENSE Normal file
View File

@ -0,0 +1,13 @@
Copyright 2025 Last2014
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "noticeuwuzu",
"version": "v3.5@uwuzu1.5.4",
"version": "v3.5.1@uwuzu1.5.4",
"description": "uwuzu Notice Bot",
"main": "dist/main.js",
"scripts": {