A framework for appengine-powered Slack apps.
Currently used in:
- Dicebot - Simple app to add a /roll command.
To use in your own apps:
-
View the included dicebot sample app which in turn uses the hackyslack2/dicebot/roll dice parsing library.
-
Import the repository.
import "github.com/arkie/hackyslack2"
-
Configure with the application id and secret from Slack (dicebot/index.go)
hackyslack.Configure(clientId, clientSecret)
-
Register a command to run when the application is called. (dicebot/roll.go)
hackyslack.Register("roll", command)
-
Deploy the new app with
goapp deploy
- Or use continuous deployment similar to dicebot's circle.yml configuration, inspired by yosukesuzuki/hugo-gae.