Databank Korean to English (and back again!) bot
A small slack bot which translates Korean slack messages into English, and English messages into Korean, which it does via papago
It can be invited into slack channels, where it will:
- Listen out for new messages
- Translate messages from one language to the other (based on character encodings, and sentence structure)
- Respond to messages again in a thread

This bot requires the following env vars:
Installation
Included in this project is a manifest.yml file which can be used to configure slack.
Building
This bot can be built using pretty standard go tools:
$ go build
Or via docker:
$ docker build -t translation-slackbot .
Running
If you've built the app yourself, using go, then you may run:
SLACK_BOT_TOKEN="see above" SLACK_APP_TOKEN="see above" NAVER_CLIENT_ID="see above" ./translation-slackbot
Otherwise I suggest building via docker (see above) and running with:
$ docker run --name translation-slackbot -e SLACK_BOT_TOKEN="see above" -e SLACK_APP_TOKEN="see above" -e NAVER_CLIENT_ID="see above" translation-slackbot
(Setting the above environment variables according to the values in the environment variables table in the document)