/hackyslack2

A framework for appengine-powered Slack apps, with dice rolling example app

Primary LanguageGo

hackyslack2 Build Status

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