Skip to content
Stephen Brennan edited this page Apr 25, 2017 · 10 revisions

Welcome to the slacksoc wiki! Currently this is the best starting place for information on how to create Slacksoc plugins.

Prerequisites

Slacksoc is implemented in Go, an open-source programming language created at Google. You'll need to learn at least a bit of it to do plugin work. A good place to start is the tour.

  • You'll want to install it on your computer...
  • Then you can get the source and all required libraries with go get github.com/brenns10/slacksoc/slacksoc

Slacksoc uses the Slack RTM API to listen and respond to events. You'll have to get a bit familiar with it in order to work on plugins. In addition, Slacksoc uses this Go library for the API. You'll want to refer to the documentation of both simultaneously.

For testing, you'll need an API key. An easy solution is to create your own Slack team for testing and use the one custom API key from there. Try to be polite to Slack and conserve the number of teams (share with others if you can!).

Plugin Development

Refer to the following wiki pages in order to learn what you need to know about making plugins.

Resources

Clone this wiki locally