Notify Slack and Discord of forecast how dry the laundry.
Set the env variables.
direnv will help you.
Key | Required | Description | Note |
---|---|---|---|
AREA_CODE | true | tenki.jp area code | |
ENDPOINT_URL | true | Webhook endpoint of Slack or Discord | Use Slack-Compatible webhook to post to Discord. |
ICON_URL | false | Icon URL of this bot | |
ONLY_TOMORROW | false | Send only tomorrow forecast when true |
# run
$ ./gradlew run
# test
$ ./gradlew test