All Projects → Team-Fruit → EEWBot

Team-Fruit / EEWBot

Licence: MIT license
Earthquake Early Warning (EEW) Discord Bot for Japan

Programming Languages

java
68154 projects - #9 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to EEWBot

openeew
Introduction to OpenEEW, an open-source Earthquake Early-Warning toolkit
Stars: ✭ 137 (+260.53%)
Mutual labels:  earthquakes, eew
Shadbot
A configurable multipurpose bot bringing you music, multiplayer games, moderation commands and more!
Stars: ✭ 48 (+26.32%)
Mutual labels:  discord4j
ultimategdbot
The most popular Discord bot for Geometry Dash players!
Stars: ✭ 28 (-26.32%)
Mutual labels:  discord4j
DiscordMC
A Discord <-> Minecraft Chat Gateway for Spigot
Stars: ✭ 29 (-23.68%)
Mutual labels:  discord4j
etas
calibrate ETAS, simulate using ETAS, estimate completeness magnitude & magnitude frequency distribution
Stars: ✭ 37 (-2.63%)
Mutual labels:  earthquakes
geoist
An Open-Source Geophysical Python Library for Geoscience Prototype Research
Stars: ✭ 57 (+50%)
Mutual labels:  earthquakes
python-georss-ingv-centro-nazionale-terremoti-client
Library for convenient access to the INGV Centro Nazionale Terremoti (Earthquakes) feed.
Stars: ✭ 39 (+2.63%)
Mutual labels:  earthquakes
nllgrid
Python class for reading and writing NLLoc grid files.
Stars: ✭ 23 (-39.47%)
Mutual labels:  earthquakes
Lazylyst
Lazylyst is a GUI created for time series review, using a flexible framework for new workflows
Stars: ✭ 16 (-57.89%)
Mutual labels:  earthquakes
openeew-dashboard
Dashboards for monitoring devices, events, users, data and more. Built on Carbon and React.
Stars: ✭ 22 (-42.11%)
Mutual labels:  earthquakes
django-anss-archive
A Django application to archive real-time earthquake notifications from the USGS's Advanced National Seismic System
Stars: ✭ 14 (-63.16%)
Mutual labels:  earthquakes

EEWBot

Earthquake Early Warning(EEW) Discord Bot for Japan

緊急地震速報(EEW)を、強震モニタから取得し、Discordに通知するBotです。
標準設定では、高度利用者向け緊急地震速報(予報)も通知されます。

お知らせ

2.0.3以前のバージョンは、緊急地震速報のエンドポイントが変更され利用出来なくなったため、緊急地震速報が提供されません。 速やかなバージョンアップをお願い致します。ご迷惑をおかけして申し訳ございません。

リンク

公式インスタンス

自宅サーバーで稼働しているため、可用性が保証されません。 Bot招待リンク

公式サポートサーバー

招待リンク

セットアップ

とりあえず導入したいよ!という方はこちらから招待

Token生成

すでに存在している場合は必要ありません。

  1. Discord Developers にアクセス
  2. New Application から任意の名前をつけてApplicationを作成
  3. Settings > Bot > Add Bot
  4. TokenをCopy

Windows

  1. Java8がインストールされていない場合はインストールする
  2. Releases より、jarをダウンロード
  3. 設定ファイルなどが生成されるため、フォルダを作成し、その中にダウンロードしたjarを配置
  4. コマンドプロンプトまたはPowerShellを開き、以下のコマンドをファイル名を正しいものに変更し、実行する
java -Dfile.encoding=UTF-8 -jar eewbot.jar
  1. 生成されたconfig.jsonにのtokenにDiscord BotのTokenを入力
  2. 生成されたpermission.jsonのownerに自身のDiscordアカウントのIDを入力 (Discordクライアントの開発者モード時にIDをコピーで得られるもの)
  3. 先程のコマンドを再実行し、Botが起動することを確認する

Docker

Docker Hubよりimageをpull

$ docker pull teamfruit/eewbot

設定ファイル置き場のホストのディレクトリを作成、移動

$ mkdir eewbot && cd $_

新規インスタンス作成

$ docker volume create --name eewbot
$ docker run -e TOKEN=<Your bot token> \
             -v ${PWD}:/etc/eewbot \
             -v eewbot:/var/lib/eewbot \
             --name eewbot \
             -t -d teamfruit/eewbot

別の環境からの移行の場合

$ docker run -e TOKEN=<Your bot token> \	
             -v ${PWD}:/etc/eewbot \	
             -v ${PWD}:/var/lib/eewbot \	
             --name eewbot \	
             -t -d teamfruit/eewbot	

コマンド

Prefix !eew

コマンド 説明
register 通知するチャンネルを登録し、セットアップします
unregister チャンネルの登録を解除します
add チャンネルに通知される情報を追加します
remove チャンネルに通知される情報を消去します
detail 登録されたチャンネルの設定を表示します
quakeinfo 最新の地震情報を取得します
monitor 現在の強震モニタの画像を取得します
reload 設定ファイルをリロードします
joinserver Botの招待リンクを表示します
time Botの時刻同期情報を表示します
timefix Botの時刻を強制的に修正します
setlang サーバー標準言語や登録チャンネルの言語設定をします
help helpを表示します

ライセンス

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].