Example Go Slack bot using the hanu framework.
help- Automated response by hanuhi- Bot will reply withHi yourself!shout <word>- Bot will reply passed word in uppercaseuptime- Bot will reply with it's uptimeversion- Bot will reply with it's versionwhisper <word>- Bot will reply passed word in lowercase
$ > git clone [email protected]:sbstjn/hanu-example.git
$ > cd hanu-example
$ > HANU_EXAMPLE_SLACK_TOKEN=YOUR_TOKEN go run main.go$ > git clone [email protected]:sbstjn/hanu-example.git
$ > cd hanu-example
$ > heroku create
$ > heroku config:set HANU_EXAMPLE_SLACK_TOKEN=YOUR_TOKEN
$ > git push heroku master
$ > heroku ps:scale worker=1
Scaling dynos... done, now running worker at 1:Hobby