This Slack integration is meant to provide a Scryfall-like syntax for retrieving Hearthstone card data.
In the channel the application is installed into, typing any sort of query abiding by the above syntax will return card data:
If no cards are found, or there are more than one non-exact matches, you'll be told as much:
Three environment variables:
BLIZZARD_ID
, your Blizzard API IDBLIZZARD_SECRET
, the secret key for your Blizzard APISLACK_TOKEN
, the initial token for your registered Slack bot user, for OAuth
This project uses go modules for version consistency.
To download vendor packages locally: make vendor
.
Afterwards you can build a binary for the bot: make build
.
Beyond the binary, this application is meant to be built and ran via Docker: make docker
and/or make run
.
You can deploy as a docker container w/ your favorite method, with the three environment variables above.