nchaimov / hackyslack2

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

Home Page:https://dice-b.appspot.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://dice-b.appspot.com

License:The Unlicense


Languages

Language:Go 86.3%Language:HTML 12.2%Language:CSS 1.5%