v3.5.1へ・ライセンス追加・.env.exampleを削除
This commit is contained in:
parent
7e3c4840d3
commit
6c69ce80ef
|
@ -1,2 +0,0 @@
|
|||
TOKEN=
|
||||
SERVER=
|
|
@ -1,6 +1,5 @@
|
|||
/dist/
|
||||
/.env
|
||||
/.env.local
|
||||
/.env*
|
||||
/node_modules/
|
||||
/package-lock.json
|
||||
/config.ts
|
||||
|
|
|
@ -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.
|
16
README.md
16
README.md
|
@ -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分割を推奨)
|
||||
|
||||
apiToken:BOTアカウントのAPIキー
|
||||
uwuzuServer:使用するuwuzuサーバーのホスト名(uwuzu.netなど)
|
||||
|
||||
# サーバー起動
|
||||
|
||||
|
@ -17,3 +26,6 @@ npm run start
|
|||
```
|
||||
|
||||
※Node.js・npmがインストールされている必要があります。
|
||||
|
||||
# ライセンス
|
||||
Apache 2.0 License
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue